mirror of
https://github.com/scummvm/scummvm.git
synced 2025-04-02 10:52:32 -04:00
13 lines
205 B
Text
13 lines
205 B
Text
in vec2 Texcoord;
|
|
|
|
OUTPUT
|
|
|
|
uniform UBOOL textured;
|
|
uniform vec4 color;
|
|
uniform sampler2D tex;
|
|
|
|
void main() {
|
|
outColor = color;
|
|
if (UBOOL_TEST(textured))
|
|
outColor = outColor * texture(tex, Texcoord);
|
|
}
|