source:
trunk/tools/neercs/video/simple.lolfx
@
1806
Last change on this file since 1806 was 1806, checked in by , 11 years ago | |
---|---|
File size: 248 bytes |
Line | |
---|---|
1 | -- GLSL.Vert -- |
2 | |
3 | #version 120 |
4 | |
5 | void main() |
6 | { |
7 | gl_Position = gl_Vertex; |
8 | gl_TexCoord[0] = gl_MultiTexCoord0; |
9 | } |
10 | |
11 | -- GLSL.Frag -- |
12 | |
13 | #version 120 |
14 | |
15 | uniform sampler2D texture; |
16 | |
17 | void main(void) |
18 | { |
19 | gl_FragColor = texture2D(texture, gl_TexCoord[0].xy); |
20 | } |
Note: See TracBrowser
for help on using the repository browser.