Cloud options

CloudOptions

2024.8.26

yisky

interface CloudOptions {
    cloudAlphaCutoff?: number;
    cloudAlphaMax?: number;
    cloudBending?: number;
    cloudBlendLB?: number;
    cloudBlendScale?: number;
    cloudBlendSpeed?: number;
    cloudBlendUB?: number;
    cloudColor?: ColorRepresentation;
    cloudColorBoost?: number;
    cloudDiffuseMap: string | Texture | TextureResource;
    cloudDiffuseMapST?: Vector4;
    cloudDirection?: number;
    cloudNightColor?: ColorRepresentation;
    cloudNormalBlendScale?: number;
    cloudNormalBlendSpeed?: number;
    cloudNormalMap?: string | Texture | TextureResource;
    cloudNormalMapST?: Vector4;
    cloudNormalScale?: number;
    cloudSpeed?: number;
}

Properties

cloudAlphaCutoff?: number

This setting makes harder edges because of the stricter cut-off that happens. If this value is greater than Alpha max, it essentially 'inverts' the cloud rendering (do not recommend but it could work)

CloudOptions

cloudAlphaMax?: number

This setting determines how much of the cloud texture is visible (anything lower than the max value will be transparent, anything above it will grow more opaque the closer it gets to 1.0 as explained earlier

CloudOptions

cloudBending?: number

Changes the perspective of the clouds rendering, 0 is a completely flat plane, 1.0 is warped to a full circle. I personally like a slight bend.

CloudOptions

cloudBlendLB?: number

Values for the lower bound and upperbound

CloudOptions

cloudBlendScale?: number

Modifier for the blend values

CloudOptions

cloudBlendSpeed?: number

Determines the offset when the shader samples a cloud texture for the second time and blends it with the first sample

CloudOptions

cloudBlendUB?: number

Values for the lower bound and upperbound

CloudOptions

cloudColor?: ColorRepresentation

Cloud day color, Color( 1.0, 1.0, 1.0 )

CloudOptions

cloudColorBoost?: number

broken on the top layer for some reason but it can be used to intensify the color that the cloud gets, I don't use this personally so it either needs to be removed or I need to fix that top layer boost

CloudOptions

cloudDiffuseMap: string | Texture | TextureResource

Cloud diffuse map, takes a grayscale texture that determines the cloud shapes.

CloudOptions

cloudDiffuseMapST?: Vector4

Cloud diffuse map tiling and offset, Vector4( 1.0, 1.0, 0.0, 0.0 )

CloudOptions

cloudDirection?: number

0-360 degrees wind direction

CloudOptions

cloudNightColor?: ColorRepresentation

Cloud night color, Color( 0.34, 0.34, 0.34 )

CloudOptions

cloudNormalBlendScale?: number

Modifier for the normal blend values

CloudOptions

cloudNormalBlendSpeed?: number

Determines the offset when the shader samples a cloud texture for the second time and blends it with the first sample

CloudOptions

cloudNormalMap?: string | Texture | TextureResource

Cloud normal map, the normal map used to shade / color the clouds to make them less flat.

CloudOptions

cloudNormalMapST?: Vector4

Cloud normal map tiling and offset, Vector4( 1.0, 1.0, 0.0, 0.0 )

CloudOptions

cloudNormalScale?: number

determines how heavy the normal effect is, it works in conjunction with the value you set on the normal map texture itself.

CloudOptions

cloudSpeed?: number

Determines how fast the clouds move across the skybox

CloudOptions