Interface: ShaderLightingUniforms
Properties
ambientColor
• ambientColor: Object
Type declaration
| Name | Type |
|---|---|
value | Color |
cascadeSplit0
• cascadeSplit0: Object
Type declaration
| Name | Type |
|---|---|
value | number |
cascadeSplit1
• cascadeSplit1: Object
Type declaration
| Name | Type |
|---|---|
value | number |
cascadeSplit2
• cascadeSplit2: Object
Type declaration
| Name | Type |
|---|---|
value | number |
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
| Name | Type |
|---|---|
value | Vector3 |
shadowBias
• shadowBias: Object
Type declaration
| Name | Type |
|---|---|
value | number |
shadowDebugMode
• shadowDebugMode: Object
Type declaration
| Name | Type |
|---|---|
value | number |
shadowMap0
• shadowMap0: Object
Type declaration
| Name | Type |
|---|---|
value | Texture<unknown> |
shadowMap1
• shadowMap1: Object
Type declaration
| Name | Type |
|---|---|
value | Texture<unknown> |
shadowMap2
• shadowMap2: Object
Type declaration
| Name | Type |
|---|---|
value | Texture<unknown> |
shadowMatrix0
• shadowMatrix0: Object
Type declaration
| Name | Type |
|---|---|
value | Matrix4 |
shadowMatrix1
• shadowMatrix1: Object
Type declaration
| Name | Type |
|---|---|
value | Matrix4 |
shadowMatrix2
• shadowMatrix2: Object
Type declaration
| Name | Type |
|---|---|
value | Matrix4 |
shadowNormalBias
• shadowNormalBias: Object
Type declaration
| Name | Type |
|---|---|
value | number |
shadowSideFaceBiasScale
• shadowSideFaceBiasScale: Object
Type declaration
| Name | Type |
|---|---|
value | number |
shadowSlopeBiasMin
• shadowSlopeBiasMin: Object
Type declaration
| Name | Type |
|---|---|
value | number |
shadowSlopeBiasScale
• shadowSlopeBiasScale: Object
Type declaration
| Name | Type |
|---|---|
value | number |
shadowStrength
• shadowStrength: Object
Type declaration
| Name | Type |
|---|---|
value | number |
shadowTopFaceBiasScale
• shadowTopFaceBiasScale: Object
Type declaration
| Name | Type |
|---|---|
value | number |
skyMiddleColor
• skyMiddleColor: Object
Type declaration
| Name | Type |
|---|---|
value | Color |
skyTopColor
• skyTopColor: Object
Type declaration
| Name | Type |
|---|---|
value | Color |
sunColor
• sunColor: Object
Type declaration
| Name | Type |
|---|---|
value | Color |
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
| Name | Type |
|---|---|
value | Vector3 |
sunlightIntensity
• sunlightIntensity: Object
Type declaration
| Name | Type |
|---|---|
value | number |
waterAbsorption
• waterAbsorption: Object
Type declaration
| Name | Type |
|---|---|
value | number |
waterFresnelStrength
• waterFresnelStrength: Object
Type declaration
| Name | Type |
|---|---|
value | number |
waterLevel
• waterLevel: Object
Type declaration
| Name | Type |
|---|---|
value | number |
waterStreakStrength
• waterStreakStrength: Object
Type declaration
| Name | Type |
|---|---|
value | number |
waterTint
• waterTint: Object
Type declaration
| Name | Type |
|---|---|
value | Color |