When a light is added to world and then objects are added, the objects do not cast a shadow until the light's camera is manipulated.
Workaround:
@light.camera.move 0
This triggers a "change" event within the light's camera and causes the shadow maps to be invalidated, without actually applying any change to the light's position or orientation.
When a light is added to world and then objects are added, the objects do not cast a shadow until the light's camera is manipulated.
Workaround:
This triggers a "change" event within the light's camera and causes the shadow maps to be invalidated, without actually applying any change to the light's position or orientation.