shader/sprite_frag.glsl

Fri, 26 Sep 2025 22:44:42 +0200

author
Mike Becker <universe@uap-core.de>
date
Fri, 26 Sep 2025 22:44:42 +0200
changeset 276
789215559ea8
parent 137
f8e6e0ae61a8
permissions
-rw-r--r--

use the new kv_list from UCX for the behavior map

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);
}

mercurial