aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/app_settings/shaders/class3/environment/groundV.glsl
blob: a6f5270aef55ba8b9df4a57c450bdfb9a24dc620 (plain)
1
2
3
4
5
6
7
8
9
10
11
varying vec3 lightd;
varying vec3 viewVec;

void main()
{
	gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
	lightd = gl_LightSource[0].position.xyz;
	viewVec = (gl_ModelViewMatrix * gl_Vertex).xyz;
	
	gl_FrontColor = gl_Color;
}