Jump to content

Lights

Leadwerks Engine 2 features a unified per-pixel lighting system with dynamic soft shadows. Because all lighting is real-time, lights can be created, moved around, turned on and off, and have their colors changed on-the-fly. A light can be turned off with the HideEntity() command. The EntityColor() command can be used to change a light's color.

Commands

AmbientLight
CreateDirectionalLight
CreatePointLight
CreateSpotLight
GetLightRange
GetShadowQuality
LightConeAngles
LightFalloff
LightRange
RenderLights
SetShadowDistance
SetShadowmapSize
SetShadowOffset
SetShadowQuality
SetShadowSoftness
  • You cannot add records