hotschpotsh/product-scroll-poc/fragmentShader.glsl

11 lines
169 B
GLSL

varying vec2 vUv;
varying float vDisplacement;
uniform sampler2D tImage;
void main() {
vec4 color = texture2D(tImage, vUv);
gl_FragColor = color;
}