shader/sprite_frag.glsl@237cb9038109
shader/sprite_frag.glsl
Sun, 30 Nov 2025 16:52:33 +0100
- author
- Mike Becker <universe@uap-core.de>
- date
- Sun, 30 Nov 2025 16:52:33 +0100
- changeset 289
- 237cb9038109
- parent 137
-
f8e6e0ae61a8
- permissions
- -rw-r--r--
update uwproj
layout(location = 0) out vec4 diffuse;
in vec2 uvcoord;
#ifdef USE_RECT
uniform sampler2DRect tex;
#else
uniform sampler2D tex;
#endif
void main(void) {
diffuse = texture(tex, uvcoord);
}