comparison default.f.glsl @ 488:32f053ad9b02 opengl

Basic OpenGL rendering is working
author Mike Pavone <pavone@retrodev.com>
date Sun, 27 Oct 2013 01:29:50 -0700
parents
children e97b80e3bd76
comparison
equal deleted inserted replaced
487:c08a4efeee7f 488:32f053ad9b02
1 #version 110
2
3 uniform sampler2D textures[2];
4
5 varying vec2 texcoord;
6
7 void main()
8 {
9 gl_FragColor = texture2D(textures[0], texcoord);
10 }