source:
experimental/distortionNG/shader.vert
@
334
Last change on this file since 334 was 334, checked in by , 12 years ago | |
---|---|
File size: 267 bytes |
Rev | Line | |
---|---|---|
[334] | 1 | varying vec2 texcoord_scene; |
2 | varying vec2 texcoord_intensityMap; | |
3 | ||
4 | void main() | |
5 | { | |
6 | gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; | |
7 | gl_FrontColor = gl_Color; | |
8 | texcoord_scene = vec2(gl_MultiTexCoord0); | |
9 | texcoord_intensityMap = vec2(gl_MultiTexCoord1); | |
10 | } |
Note: See TracBrowser
for help on using the repository browser.