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