Files
libretro/bios/ScummVM/ScummVM/extra/shaders/hpl1_Water_Fog.fragment
T
2026-03-17 11:53:42 +01:00

14 lines
249 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;
}