shader/sprite_frag.glsl

Wed, 13 Aug 2025 23:55:55 +0200

author
Mike Becker <universe@uap-core.de>
date
Wed, 13 Aug 2025 23:55:55 +0200
changeset 264
653869cd653f
parent 137
f8e6e0ae61a8
permissions
-rw-r--r--

fix that the window would take a little more than the full height not giving space for potential docks on the desktop

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