react-three-renderer icon indicating copy to clipboard operation
react-three-renderer copied to clipboard

Is it possible to add CameraHelper for directional light shadow camera?

Open richardcrichardc opened this issue 9 years ago • 2 comments

I am trying to debug shadows cast from a directional light. Is it possible to add CameraHelper for directional light shadow camera? It would appear I need to know the name of the shadow camera, but I am unsure how to set/determine the name of the light's shadow camera.

richardcrichardc avatar Mar 02 '16 09:03 richardcrichardc

Hi, I had to debug directional light shadow cameras before, some things may have changed on the three.js side so I will be able to update this after taking a look at how it's done now :)

toxicFork avatar Mar 02 '16 18:03 toxicFork

Ok after some research, it seems that they have removed the debug attributes. I will need to extend camerahelper to do this

toxicFork avatar Mar 12 '16 13:03 toxicFork