Files
scummvm-cursorfix/engines/hpl1/engine/impl/shaders/hpl1_Water_Fog.fragment
2026-02-02 04:50:13 +01:00

14 lines
236 B
Plaintext

// Water_Diffuse.fragment
in vec4 vColor;
in vec2 vUv;
in float vFogUv;
OUTPUT
uniform sampler2D tex0; // diffuse
uniform sampler1D tex1; // fog
void main() {
outColor = texture(tex0, vUv) * texture1D(tex1, vFogUv).rrrg * vColor;
}