shader/sprite_frag.glsl@60014484121c
shader/sprite_frag.glsl
Wed, 06 Aug 2025 00:37:01 +0200
- author
- Mike Becker <universe@uap-core.de>
- date
- Wed, 06 Aug 2025 00:37:01 +0200
- changeset 256
- 60014484121c
- parent 137
-
f8e6e0ae61a8
- permissions
- -rw-r--r--
remove the asc_col4i datatype in favor of a unified asc_color type
and also adds some min and max functions
layout(location = 0) out vec4 diffuse;
in vec2 uvcoord;
#ifdef USE_RECT
uniform sampler2DRect tex;
#else
uniform sampler2D tex;
#endif
void main(void) {
diffuse = texture(tex, uvcoord);
}