-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
When I create a new Spline scene, add a cube, and change its material lighting from Phong to Physical, the exported r3f Scene will not render. The error message in the console says:
THREE.WebGLProgram: Shader Error 0 - VALIDATE_STATUS false
ERROR: 0:1255: 'geometryNormal' : undeclared identifier
ERROR: 0:1255: 'geometryNormal' : undeclared identifier
ERROR: 0:1255: '=' : dimension mismatch
ERROR: 0:1255: '=' : cannot convert from 'highp float' to 'highp 3-component vector of float'
Spline scene with cube: https://my.spline.design/bugpbr-697c24bb953fb9261036866a8faaeb80/
Codesandbox with the error: https://codesandbox.io/s/r3f-spline-pbr-bug-7d2mgc
In the sandbox I also added a Scene1 component, which is the scene from the Spline demo referenced in the Readme. If you render Scene1 instead of Scene2, you'll also see that the demo suffers from shader issues with three@0.157.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels