Files
scummvm-cursorfix/engines/stark/shaders/stark_actor.fragment
2026-02-02 04:50:13 +01:00

16 lines
207 B
Plaintext

in vec2 Texcoord;
in vec3 Color;
OUTPUT
uniform UBOOL textured;
uniform sampler2D tex;
void main() {
outColor = vec4(Color, 1.0);
if (UBOOL_TEST(textured)) {
outColor *= texture(tex, Texcoord);
}
}