shader/sprite_frag.glsl@f18dc427f86f
shader/sprite_frag.glsl
Thu, 18 Apr 2024 21:53:53 +0200
- author
- Mike Becker <universe@uap-core.de>
- date
- Thu, 18 Apr 2024 21:53:53 +0200
- changeset 64
- f18dc427f86f
- parent 50
-
d8d2e4817db1
- permissions
- -rw-r--r--
make use of the asc_window_active macro
#version 400 core
layout(location = 0) out vec4 diffuse;
in vec2 texcoord;
uniform sampler2DRect tex;
void main(void) {
diffuse = texture(tex, texcoord);
}