stk-code_catmod/data/shaders/particle.vert

10 lines
171 B
GLSL
Raw Normal View History

#version 130
uniform mat4 matrix;
in vec3 position;
void main(void)
{
gl_Position = matrix * vec4(position, 1.0);
gl_PointSize = 300. / gl_Position.w;
}