shader/sprite_frag.glsl@26ebb2f1e6e6
shader/sprite_frag.glsl
Fri, 12 Apr 2024 22:03:15 +0200
- author
- Mike Becker <universe@uap-core.de>
- date
- Fri, 12 Apr 2024 22:03:15 +0200
- changeset 58
- 26ebb2f1e6e6
- parent 50
-
d8d2e4817db1
- permissions
- -rw-r--r--
improve ui/text.h interface a lot
#version 400 core
layout(location = 0) out vec4 diffuse;
in vec2 texcoord;
uniform sampler2DRect tex;
void main(void) {
diffuse = texture(tex, texcoord);
}