Skip to main content

Interface: ShaderLightingUniforms

Properties

ambientColor

ambientColor: Object

Type declaration

NameType
valueColor

cascadeSplit0

cascadeSplit0: Object

Type declaration

NameType
valuenumber

cascadeSplit1

cascadeSplit1: Object

Type declaration

NameType
valuenumber

cascadeSplit2

cascadeSplit2: Object

Type declaration

NameType
valuenumber

celestialDirection

celestialDirection: Object

The celestial disc above the horizon as the sky box actually draws it (getVisibleDiscDirection): the sun by day, the moon by night, never clamped or tilted. Specular reflections read this, so the sun on the water sits under the sun in the sky.

Type declaration

NameType
valueVector3

shadowBias

shadowBias: Object

Type declaration

NameType
valuenumber

shadowDebugMode

shadowDebugMode: Object

Type declaration

NameType
valuenumber

shadowMap0

shadowMap0: Object

Type declaration

NameType
valueTexture<unknown>

shadowMap1

shadowMap1: Object

Type declaration

NameType
valueTexture<unknown>

shadowMap2

shadowMap2: Object

Type declaration

NameType
valueTexture<unknown>

shadowMatrix0

shadowMatrix0: Object

Type declaration

NameType
valueMatrix4

shadowMatrix1

shadowMatrix1: Object

Type declaration

NameType
valueMatrix4

shadowMatrix2

shadowMatrix2: Object

Type declaration

NameType
valueMatrix4

shadowNormalBias

shadowNormalBias: Object

Type declaration

NameType
valuenumber

shadowSideFaceBiasScale

shadowSideFaceBiasScale: Object

Type declaration

NameType
valuenumber

shadowSlopeBiasMin

shadowSlopeBiasMin: Object

Type declaration

NameType
valuenumber

shadowSlopeBiasScale

shadowSlopeBiasScale: Object

Type declaration

NameType
valuenumber

shadowStrength

shadowStrength: Object

Type declaration

NameType
valuenumber

shadowTopFaceBiasScale

shadowTopFaceBiasScale: Object

Type declaration

NameType
valuenumber

skyMiddleColor

skyMiddleColor: Object

Type declaration

NameType
valueColor

skyTopColor

skyTopColor: Object

Type declaration

NameType
valueColor

sunColor

sunColor: Object

Type declaration

NameType
valueColor

sunDirection

sunDirection: Object

The shading light: held above a minimum elevation, tilted off the sun's plane, and blended toward the moon through twilight, so terrain shading and shadows stay readable at every hour. Not where the sun is drawn.

Type declaration

NameType
valueVector3

sunlightIntensity

sunlightIntensity: Object

Type declaration

NameType
valuenumber

waterAbsorption

waterAbsorption: Object

Type declaration

NameType
valuenumber

waterFresnelStrength

waterFresnelStrength: Object

Type declaration

NameType
valuenumber

waterLevel

waterLevel: Object

Type declaration

NameType
valuenumber

waterStreakStrength

waterStreakStrength: Object

Type declaration

NameType
valuenumber

waterTint

waterTint: Object

Type declaration

NameType
valueColor