Shadow calculation problem in side by side mode

Does anyone know what the problem is?

in normal mode is ok

in side by side mode,has some problem

I wonder if the default interocular distance may be getting applied to the shadow camera.

Is it fixed if you call light.getLens().setInterocularDistance(0) explicitly?
Or, in C++:


thanks! :smiley: OK now!!!

Great, thanks! I’ve checked in a fix so that Panda automatically sets the interocular distance for lights to 0.