API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfaceLightingOptions

@codexo/exojs-lighting / lighting / stable

What every lighting system takes, whichever renderer it is.

2
props
0
methods
0
events
Import
import { LightingOptions } from '@codexo/exojs-lighting'

What every lighting system takes, whichever renderer it is.

Properties2
Baseline colour every lit fragment receives regardless of any light, as a multiplier on the albedo - 255 per channel means "unlit areas keep their full albedo". Stored by reference and re-read every frame.
Source