File: ShadowMappingPCF.vert

package info (click to toggle)
sofa-framework 1.0~beta4-12
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 88,828 kB
  • ctags: 27,300
  • sloc: cpp: 151,126; ansic: 2,387; xml: 581; sh: 417; makefile: 68
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();
   
}