Skip to main content

Type Alias: RiverWaterMaterialUniforms

RiverWaterMaterialUniforms = object

Defined in: modules/lighting/water-material/river-water-material.ts:19

Properties​

enabled?​

optional enabled?: number

Defined in: modules/lighting/water-material/river-water-material.ts:20


flowDirection?​

optional flowDirection?: [number, number]

Defined in: modules/lighting/water-material/river-water-material.ts:21


skyUpDirection?​

optional skyUpDirection?: [number, number, number]

Defined in: modules/lighting/water-material/river-water-material.ts:25

Unit up direction in the same coordinate frame as the supplied surface normal.


skyZenithColor?​

optional skyZenithColor?: [number, number, number]

Defined in: modules/lighting/water-material/river-water-material.ts:23

Linear sky tint above the horizon. The horizon uses waterMaterial.fresnelColor.