Hi all, I’m trying to get a simple scene rendered using the WebGPURenderer and a ground plane which uses a ShadowMaterial
. I was having an issue where the scene wouldn’t render due to the error discussed here:
but I cheekily copy-pasted the code in that commit directly into my local three.webgpu.js
file and that fixed it. Now I’m having a different issue which is that the scene won’t render and I get the error
Cannot read properties of null (reading 'getNodeType') (three.webgpu.js:1715:19)
in my console, but only when I set castShadow
to false
on my main direct light in the scene. When castShadow
is true
on that light, the scene renders fine, and if I use any other material type on the ground plane the scene renders fine. It just seems to be this particular combo that’s the issue.
Can anyone help at all please?