5899a26aad
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14590 178a84e3-b1eb-0310-8ba1-8eac791a3b58
10 lines
201 B
GLSL
10 lines
201 B
GLSL
varying float camdist;
|
|
|
|
void main() {
|
|
gl_Position = ftransform();
|
|
gl_TexCoord[0] = gl_MultiTexCoord0;
|
|
gl_TexCoord[1] = gl_MultiTexCoord1;
|
|
|
|
camdist = length((gl_ModelViewMatrix * gl_Vertex).xyz);
|
|
}
|