Function: skyMix()
function skyMix(gradient: RampGradient, height: number): number;
Defined in: threejs-environment/src/sky-texture.ts:52
The blend weight for bottom -> top at a given height up the sphere.
horizon slides where the two colours meet and exponent shapes the ramp
on each side of it, so a sunset can hold its orange near the ground and lose
it quickly above.
Parameters
| Parameter | Type |
|---|---|
gradient | RampGradient |
height | number |
Returns
number