File: ShadowMappingPCF.vert

package info (click to toggle)
sofa-framework 1.0~beta4-7
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 88,624 kB
  • sloc: cpp: 151,120; ansic: 2,387; xml: 581; sh: 436; makefile: 67
file content (13 lines) | stat: -rw-r--r-- 187 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13

void main()
{
	
	vec4 vertex;	
   
    vertex = gl_ModelViewMatrix * gl_Vertex;
   
    gl_TexCoord[1] = gl_TextureMatrix[1] * vertex;
 
    gl_Position = ftransform();
   
}