Relative Content

Tag Archive for javascriptreactjsthree.jsblenderreact-three-fiber

Why is my GLB file from Blender not casting shadows in Three JS? (specifically in react three fiber)

I exported a GLB file from blender but when I import it into three js, it does not cast any shadows. I have made sure that my light has castShadow set to true, my ground has receiveShadow set to true, and I loop through all the children of my gltf scene and make sure they have castShadow set to true as well. I also made sure that my canvas has the shadows tag as well.
<Canvas shadows>...</Canvas>.