Skip to main content

Type Alias: RiverWaterMaterialProps

RiverWaterMaterialProps = object

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

Properties​

enabled?​

optional enabled?: number

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


flowDirection?​

optional flowDirection?: [number, number]

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

Local east/north direction of river flow.


skyUpDirection?​

optional skyUpDirection?: [number, number, number]

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

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:14

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