Hello,
I am trying to generate shadows for a 3D scene with the ShadowGenerator of Babylon. My problem is the following : a mesh can't create shadows and receiving shadows at the same time.
Here is a playground where this is illustrated : http://playground.babylonjs.com/#1R4XE8#1
Let's focus on lines 47 & 48 :
torus.receiveShadows = true;
shadowGenerator.getShadowMap().renderList.push(torus);
If the first one is commented the torus doesn't receive shadow and when i