light.point.shadow_mode

Client

Enumeration of shadow rendering modes available for the point light


Values

ConstantDescription
light.point.shadow_mode.DUAL_PARABOLOIDRenders shadows using a dual-paraboloid projection. Faster to compute but lower quality than cube map shadows
light.point.shadow_mode.CUBERenders shadows using a cube map. Higher quality but more expensive to compute than dual-paraboloid

Examples

Apply a shadow mode to a point light
local entity = light.point.create()

entity:set_shadow_mode(light.point.shadow_mode.CUBE)

On this page