shader/sprite_frag.glsl

Mon, 04 Aug 2025 23:19:06 +0200

author
Mike Becker <universe@uap-core.de>
date
Mon, 04 Aug 2025 23:19:06 +0200
changeset 249
2522fbeccede
parent 137
f8e6e0ae61a8
permissions
-rw-r--r--

remove TODO about queuing movement commands

with the new grid size and player speed this is not an issue anymore

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