shader/sprite_frag.glsl@18de2af03531
shader/sprite_frag.glsl
Thu, 28 Mar 2024 23:30:21 +0100
- author
- Mike Becker <universe@uap-core.de>
- date
- Thu, 28 Mar 2024 23:30:21 +0100
- changeset 45
- 18de2af03531
- parent 40
-
6c438be1a1fd
- child 50
-
d8d2e4817db1
- permissions
- -rw-r--r--
simplify how transforms work
#version 400 core
layout(location = 0) out vec4 diffuse;
in vec2 texcoord;
uniform sampler2DRect surface;
void main(void) {
diffuse = texture(surface, texcoord);
}