use of com.badlogic.gdx.graphics.g3d.shaders.DefaultShader in project libgdx by libgdx.
the class BillboardParticleBatch method getShader.
private Shader getShader(Renderable renderable) {
Shader shader = useGPU ? new ParticleShader(renderable, new ParticleShader.Config(mode)) : new DefaultShader(renderable);
shader.init();
return shader;
}
Aggregations