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

Vizard R5: Adding realtime light to a scene and enabling shadows.
Sample Files: Realtime (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"

- 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