light.point.shadow_mode
Client
Enumeration of shadow rendering modes available for the point light
Values
| Constant | Description |
|---|---|
light.point.shadow_mode.DUAL_PARABOLOID | Renders shadows using a dual-paraboloid projection. Faster to compute but lower quality than cube map shadows |
light.point.shadow_mode.CUBE | Renders shadows using a cube map. Higher quality but more expensive to compute than dual-paraboloid |
Examples
local entity = light.point.create()
entity:set_shadow_mode(light.point.shadow_mode.CUBE)