--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/shader/sprite_frag.glsl Thu Mar 21 20:48:18 2024 +0100 @@ -0,0 +1,10 @@ +#version 400 core + +layout(location = 0) out vec4 diffuse; +in vec2 texcoord; + +uniform sampler2DRect surface; + +void main(void) { + diffuse = texture(surface, texcoord); +}