Fix: Improved mirror shader fade effect animation

This commit is contained in:
Dejvino
2025-11-20 12:25:47 +01:00
parent c48581379c
commit dceb37a8dd
3 changed files with 7 additions and 27 deletions
-18
View File
@@ -1,18 +0,0 @@
export const screenVertexShader = `
varying vec2 vUv;
void main() {
vUv = uv;
gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
}
`;
export const screenFragmentShader = `
varying vec2 vUv;
uniform sampler2D videoTexture;
void main() {
// Sample the video texture
gl_FragColor = texture2D(videoTexture, vUv);
}
`;