Skip to content

LightColor

Claude edited this page Oct 27, 2026 · 6 revisions
Blitz3D

LightColor

LightColor light:Int32, red:Float32, green:Float32, blue:Float32
Parameter Type Default Description
light Int32 required Light handle.
red Float32 required Red part of the light.
green Float32 required Green part of the light.
blue Float32 required Blue part of the light.

Description

Sets the color of the light. 255, 255, 255 is full white light, 0, 0, 0 adds nothing. The original accepts values from -255 to 255 where negative values darken what the light touches, which lets you fake shadows.

Related Commands

CreateLight, LightConeAngles, LightMesh, LightRange

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

More

Clone this wiki locally