Doc > Nodes > SOP > DirectionalLight

Doc > Nodes > SOP > DirectionalLight

Creates a directional light.


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.


Name Type Description
color color light color
intensity float light intensity
distance float light distance
showHelper boolean toggle to show helper
name string light name
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
debugShadow boolean display shadow on a plane behind the light
raymarchingPenumbra float this affects the shadows cast inside raymarchingBuilder materials
Is this doc helpful/not helpful? Is there any information you would like that is not available? Don't hesitate to get in touch with any question or feedback, either by email, on Discord or the forum.