9fbd2b19b1
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14852 178a84e3-b1eb-0310-8ba1-8eac791a3b58
15 lines
227 B
GLSL
15 lines
227 B
GLSL
#version 130
|
|
uniform mat4 matrix;
|
|
|
|
in vec3 position;
|
|
in float lifetime;
|
|
|
|
out float lf;
|
|
|
|
void main(void)
|
|
{
|
|
lf = lifetime;
|
|
gl_Position = matrix * vec4(position, 1.0);
|
|
gl_PointSize = 300. / gl_Position.w;
|
|
}
|