Skip to content

LightColor

Narta Xaymar Dirks edited this page Nov 25, 2026 · 6 revisions

LightColor Blitz3D

LightColor:Void light:Int32, red:Float32, green:Float32, blue:Float32
Parameter Mode Type Default Description
light In Int32 required Light handle.
red In Float32 required Red part of the light.
green In Float32 required Green part of the light.
blue In 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 Blitz3D, LightConeAngles Blitz3D, LightMesh Blitz3D, LightRange Blitz3D

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

More

Clone this wiki locally