Interface lightingOptions

For configuring lights in a scene

lightingOptions

Example

 const options: lightingOptions = {
fog: 1.3,
ambient: 0.2
}
interface lightingOptions {
    ambient?: number;
    fog?: number;
}

Properties

Properties

ambient?: number

Ambient lighting of the scene, default is 0.2

fog?: number

Changes how light spreads, default is 1.3

Generated using TypeDoc