shader/sprite_frag.glsl@25fb39f8863a
shader/sprite_frag.glsl
Sun, 06 Oct 2024 19:45:34 +0200
- author
- Mike Becker <universe@uap-core.de>
- date
- Sun, 06 Oct 2024 19:45:34 +0200
- changeset 74
- 25fb39f8863a
- parent 50
-
d8d2e4817db1
- permissions
- -rw-r--r--
fix memory leak in asc_text_printf()
#version 400 core
layout(location = 0) out vec4 diffuse;
in vec2 texcoord;
uniform sampler2DRect tex;
void main(void) {
diffuse = texture(tex, texcoord);
}