We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fcb201 commit 47f96bcCopy full SHA for 47f96bc
packages/use-shader-fx/src/materials/impl/blur/motionBlur/motionBlur.glsl.ts
@@ -12,9 +12,9 @@ export const fragment = `
12
uniform float mixRatio;
13
14
void main() {
15
- vec4 color = texture2D(src, vUv);
+ vec4 currentColor = texture2D(src, vUv);
16
vec4 prevColor = texture2D(backBuffer, vUv);
17
18
- gl_FragColor = mix(prevColor, color, mixRatio);
+ gl_FragColor = mix(prevColor, currentColor, mixRatio);
19
}
20
`;
0 commit comments