source: trunk/neercs/video/simple.lolfx @ 1456

Last change on this file since 1456 was 1456, checked in by sam, 10 years ago

neercs: import Rez's code in our framework. Not ready yet.

File size: 256 bytes
Line 
1-- GLSL.Vert --
2
3#version 120
4
5void main()
6        {
7        gl_Position=gl_Vertex;
8        gl_TexCoord[0]=gl_MultiTexCoord0;
9        }
10
11-- GLSL.Frag --
12
13#version 120
14
15uniform sampler2D texture;
16
17void main(void)
18        {
19        gl_FragColor=vec4(texture2D(texture,gl_TexCoord[0].xy).xyz,1.0);
20        }
Note: See TracBrowser for help on using the repository browser.