shader/sprite_frag.glsl@823c03733e42
shader/sprite_frag.glsl
Sun, 11 Aug 2024 16:11:30 +0200
- author
- Mike Becker <universe@uap-core.de>
- date
- Sun, 11 Aug 2024 16:11:30 +0200
- changeset 68
- 823c03733e42
- parent 50
-
d8d2e4817db1
- permissions
- -rw-r--r--
add mouse and window focus - resolves #382
plus some minor code improvements
#version 400 core
layout(location = 0) out vec4 diffuse;
in vec2 texcoord;
uniform sampler2DRect tex;
void main(void) {
diffuse = texture(tex, texcoord);
}