File: bloom.vert

package info (click to toggle)
gource 0.55-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,392 kB
  • sloc: cpp: 19,637; sh: 4,241; makefile: 102
file content (10 lines) | stat: -rw-r--r-- 187 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10

varying vec3 pos;

void main()
{
    pos = gl_Vertex.xyz - gl_MultiTexCoord0.yzw;
    gl_TexCoord[0] = gl_MultiTexCoord0;
    gl_FrontColor = gl_Color;
    gl_Position = ftransform();
}