Doc > Nodes > SOP > DirectionalLight
Creates a directional light.
Description
This is very similar to the object level DirectionalLight, but can be more useful if you want to instanciate it or process it using other SOP nodes.
Parameters
Name | Type | Description |
---|---|---|
color | color | light color |
intensity | float | light intensity |
distance | float | light distance |
showHelper | boolean | toggle to show helper |
castShadow | boolean | toggle on to cast shadows |
shadowAutoUpdate | boolean | toggle off if the shadows do not need to be regenerated |
shadowUpdateOnNextRender | boolean | press button to update the shadows on next render |
shadowRes | vector2 | shadow resolution |
shadowSize | vector2 | shadow size |
shadowBias | float | shadow bias |
shadowRadius | float | shadows radius. This only has effect when setting the ROP/WebGLRenderer's shadowMapType to VSM |