5899a26aad
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14590 178a84e3-b1eb-0310-8ba1-8eac791a3b58
12 lines
219 B
GLSL
12 lines
219 B
GLSL
uniform vec3 windDir;
|
|
|
|
void main()
|
|
{
|
|
gl_TexCoord[0] = gl_MultiTexCoord0;
|
|
|
|
vec4 vertexPosition = gl_Vertex;
|
|
vertexPosition.xyz += windDir * gl_Color.r;
|
|
|
|
gl_Position = gl_ModelViewProjectionMatrix * vertexPosition;
|
|
}
|