Fix the black screen: CRT shader did not compile, plus a test suite that can actually see it #1
+1
-1
@@ -26,7 +26,7 @@ export class RetroEffect {
|
|||||||
varying vec2 vUv;
|
varying vec2 vUv;
|
||||||
void main() {
|
void main() {
|
||||||
vUv = uv;
|
vUv = uv;
|
||||||
gl_Position = vec4(position, 0.0, 1.0);
|
gl_Position = vec4(position.xy, 0.0, 1.0);
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
fragmentShader: `
|
fragmentShader: `
|
||||||
|
|||||||
Reference in new issue
Block a user