diff -r 874a02a683c5 -r 6234b7ea48f3 shader/sprite_frag.glsl --- a/shader/sprite_frag.glsl Sat Apr 19 19:30:46 2025 +0200 +++ b/shader/sprite_frag.glsl Sun Apr 20 15:41:16 2025 +0200 @@ -2,9 +2,11 @@ layout(location = 0) out vec4 diffuse; in vec2 texcoord; +in vec2 uvcoord; -uniform sampler2DRect tex; +uniform sampler2D uv_tex; +uniform sampler2DRect rect_tex; void main(void) { - diffuse = texture(tex, texcoord); + diffuse = texture(rect_tex, texcoord) * texture(uv_tex, uvcoord); }