shader/sprite_frag.glsl@5a592625e2f9
shader/sprite_frag.glsl
Tue, 16 Apr 2024 22:06:17 +0200
- author
- Mike Becker <universe@uap-core.de>
- date
- Tue, 16 Apr 2024 22:06:17 +0200
- changeset 62
- 5a592625e2f9
- parent 50
-
d8d2e4817db1
- permissions
- -rw-r--r--
left and right are to distinguish...
#version 400 core
layout(location = 0) out vec4 diffuse;
in vec2 texcoord;
uniform sampler2DRect tex;
void main(void) {
diffuse = texture(tex, texcoord);
}