15:362b7659dc76 | 16:c5dde81b6fb2 |
---|---|
1 #version 400 core | 1 #version 400 core |
2 | 2 |
3 layout(location = 0) out vec4 diffuse; | |
3 in vec2 texcoord; | 4 in vec2 texcoord; |
4 out vec4 fragment; | |
5 | 5 |
6 uniform sampler2DRect surface; | 6 uniform sampler2DRect surface; |
7 | 7 |
8 void main(void) { | 8 void main(void) { |
9 fragment = texture(surface, texcoord); | 9 diffuse = texture(surface, texcoord); |
10 } | 10 } |