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 |
Line | |
---|---|
1 | varying vec2 texcoord_scene; |
2 | varying vec2 texcoord_intensityMap; |
3 | |
4 | varying vec2 texCoord; |
5 | |
6 | void main() |
7 | { |
8 | gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; |
9 | texcoord_scene = vec2(gl_MultiTexCoord0.xy); |
10 | texcoord_intensityMap = vec2(gl_MultiTexCoord1.xy); |
11 | texCoord = gl_MultiTexCoord0.xy; |
12 | } |
Note: See TracBrowser
for help on using the repository browser.