You need a shadow generator in your scene, even with a ShadowOnlyMaterial
.
For an example that works in the PG: https://playground.babylonjs.com/#4DUVC6#2 (from this thread Issue with CascadedShadowMap + ShadowOnlyMaterial)
You need a shadow generator in your scene, even with a ShadowOnlyMaterial
.
For an example that works in the PG: https://playground.babylonjs.com/#4DUVC6#2 (from this thread Issue with CascadedShadowMap + ShadowOnlyMaterial)