49:77493525eac2 | 50:d8d2e4817db1 |
---|---|
1 #version 400 core | 1 #version 400 core |
2 | 2 |
3 layout(location = 0) out vec4 diffuse; | 3 layout(location = 0) out vec4 diffuse; |
4 in vec2 texcoord; | 4 in vec2 texcoord; |
5 | 5 |
6 uniform sampler2DRect surface; | 6 uniform sampler2DRect tex; |
7 | 7 |
8 void main(void) { | 8 void main(void) { |
9 diffuse = texture(surface, texcoord); | 9 diffuse = texture(tex, texcoord); |
10 } | 10 } |