Skip to content

GetDefaultEntityLighting

Narta Xaymar Dirks edited this page Dec 3, 2026 · 1 revision

GetDefaultEntityLighting BlitzLLVM

GetDefaultEntityLighting:Int32

Description

BlitzLLVM This command does not exist in the original Blitz products. BlitzLLVM adds it.

Returns the EntityLighting mode of entities that were not given one of their own, as DefaultEntityLighting set it. This is a BlitzLLVM extension.

It is 0 (lighting of the vertices) at the start, or 1 (lighting of every pixel) if the environment variable BLITZLLVM_ENTITY_LIGHTING is 1.

@return 0 for lighting of the vertices, 1 for lighting of every pixel.

Differences

  • Not in the original: lighting is always per vertex there.

Examples

Print "Pixel lighting: " + GetDefaultEntityLighting()

Related Commands

CopyEntity Blitz3D, DefaultEntityLighting BlitzLLVM, EntityAlpha Blitz3D, EntityAutoFade Blitz3D, EntityLighting BlitzLLVM, GetChild Blitz3D, GetMatElement Blitz3D, GetParent Blitz3D

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

More

Clone this wiki locally