stk-code_catmod/data/shaders/particle.vert
vincentlj 871e2b998b GPUParticles: Implement softness and use maxangle spread
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14832 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-29 20:36:21 +00:00

10 lines
171 B
GLSL

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