How to… Work With Realtime Shadow-Casting Lights in Inspector

Vizard R5: Adding realtime light to a scene and enabling shadows.
Sample Files: Realtime Lighting.zip (7.5Mb)

Starting with an unlit scene in Inspector:
- First, Go to Create -> Light -> Directional Light
- Then, in the properties window check the box for "Shadows"
RealtimeLight_01

- Next, name the light node so it can be accessed through code
- You can set the angle of the sun node using the rotation controls
- The position of a directional light does not affect its output, but can be used to move the node's icon to a more convenient location.

Read more