File: Picking_VS.glsl

package info (click to toggle)
opentk 1.0.20101006%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 38,896 kB
  • ctags: 68,704
  • sloc: cs: 424,330; xml: 96,546; ansic: 3,597; makefile: 24
file content (9 lines) | stat: -rw-r--r-- 225 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#version 120

flat varying vec4 vColor; // must be flat, cannot have this interpolated in any way

void main(void)
{
  vColor = gl_Color;
  gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; // ftransform();
}