118705f19a
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14737 178a84e3-b1eb-0310-8ba1-8eac791a3b58
16 lines
297 B
GLSL
16 lines
297 B
GLSL
#version 130
|
|
uniform vec3 windDir;
|
|
|
|
noperspective out vec3 nor;
|
|
|
|
void main()
|
|
{
|
|
gl_TexCoord[0] = gl_MultiTexCoord0;
|
|
|
|
vec4 vertexPosition = gl_Vertex;
|
|
vertexPosition.xyz += windDir * gl_Color.r;
|
|
|
|
nor = gl_NormalMatrix * gl_Normal;
|
|
gl_Position = gl_ModelViewProjectionMatrix * vertexPosition;
|
|
}
|