5 lines
197 B
GLSL
5 lines
197 B
GLSL
void mainImage(out vec4 fragColor, in vec2 fragCoord) {
|
|
vec2 uv = fragCoord / iResolution;
|
|
// mixes two textures
|
|
fragColor = mix(texture(iChannel0, uv), texture(iChannel1, uv), 0.2);
|
|
}
|