Doc > Nodes > SOP > SpotLight
Creates a spot light.
Description
This is very similar to the object level SpotLight, 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 |
angle | float | angle |
penumbra | float | penumbra |
decay | float | decay |
distance | float | distance |
showHelper | boolean | toggle on to show helper |
helperSize | float | helper size |
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 | shadows res |
shadowBias | float | shadows bias |
shadowNear | float | shadows near |
shadowFar | float | shadows far |
shadowRadius | float | shadows radius. This only has effect when setting the ROP/WebGLRenderer's shadowMapType to VSM |
tvolumetric | boolean | toggle on to add a volumetric effect to the spotlight |
volAttenuation | float | volumetric attenuation |
volAnglePower | float | volumetric angle power |