createCloudTexture
createCloudTexture(
__namedParameters):DataTexture
Defined in: packages/engine/src/render/clouds.ts:160
The cloud field as an alpha mask. Coverage and softness are baked in here rather than applied where it is drawn: a mask scaled at draw time is an even haze over the whole sky, and it is the threshold that makes clouds with sky between them. The story regenerates on a slider; the game builds it once.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
__namedParameters |
CloudTextureOptions |
Returns
Section titled “Returns”DataTexture