shader/sprite_frag.glsl

changeset 40
6c438be1a1fd
parent 16
c5dde81b6fb2
child 50
d8d2e4817db1
equal deleted inserted replaced
39:7cf310cc47cb 40:6c438be1a1fd
1 #version 400 core
2
3 layout(location = 0) out vec4 diffuse;
4 in vec2 texcoord;
5
6 uniform sampler2DRect surface;
7
8 void main(void) {
9 diffuse = texture(surface, texcoord);
10 }

mercurial