mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-04-19 07:12:36 -05:00
14 lines
249 B
Plaintext
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;
|
|
} |