Draws a layer of cloud texture covering the screen. It can fade in an out based on opacity and using the picture mask as gradient of areas which fade in soon or later.
There are two important concepts to understand:
mask
refers to something like a depth texture. It is applied across the whole screen and determines how the entire graphic fades in and out.
effect
in this context refers to clipping out portion of the cover graphic. It can use an effect_graphic. is_cloud_effect_advanced
makes the effect
modify opacity threshold of the mask
rather than multiplying alpha.
Additionally an area can be masked out by range or effect mask.
type | :: "cover-graphic" | |
reference_group optional | :: ProcessionLayerInheritanceGroupID | The group this layer belongs to, for inheritance. |
The group this layer belongs to, for inheritance. | ||
inherit_from optional | :: ProcessionLayerInheritanceGroupID | Adds the final position value from given layer to this one. |
Adds the final position value from given layer to this one. | ||
graphic optional | :: ProcessionGraphic | Main texture of the layer. |
Main texture of the layer. | ||
mask_graphic optional | :: ProcessionGraphic | Opacity gradient of the layer. |
Opacity gradient of the layer. | ||
effect_graphic optional | :: ProcessionGraphic | Used by certain effects. |
Used by certain effects. | ||
render_layer optional | :: RenderLayer | |
secondary_draw_order optional | :: int8 | |
is_cloud_effect_advanced optional | :: boolean | Advanced cloud effect mask modifies the regular mask thresholds instead of being a flat multiplication of the resulting opacity. |
Advanced cloud effect mask modifies the regular mask thresholds instead of being a flat multiplication of the resulting opacity. | ||
is_quad_texture optional | :: boolean | The texture and mask are interpreted as four smaller textures that are randomly tiled. |
The texture and mask are interpreted as four smaller textures that are randomly tiled. | ||
rotate_with_pod optional | :: boolean | Add rotation of the pod to the cloud rotation. |
Add rotation of the pod to the cloud rotation. | ||
texture_relative_to optional | :: EffectRelativeTo | Where the tiled texture is centered and rotated. |
Where the tiled texture is centered and rotated. | ||
distance_traveled_strength optional | :: Vector | How much the pod's distance traveled moves the cloud coordinates |
How much the pod's distance traveled moves the cloud coordinates | ||
pod_movement_strength optional | :: Vector | How much the pod's position moves the cloud coordinates |
How much the pod's position moves the cloud coordinates | ||
world_size optional | :: Vector | Size the textures are scaled to in the world. |
Size the textures are scaled to in the world. | ||
effect optional | :: CoverGraphicEffectData | Clips the graphic. |
Clips the graphic. | ||
alt_effect optional | :: CoverGraphicEffectData | Clips the graphic. |
Clips the graphic. | ||
frames | :: array[CoverGraphicProcessionLayerBezierControlPoint] | Default values if unspecified:
|
Default values if unspecified:
|
frames | :: array[CoverGraphicProcessionLayerBezierControlPoint] | Default values if unspecified:
|
Default values if unspecified:
| ||
type | :: "cover-graphic" | |
alt_effect optional | :: CoverGraphicEffectData | Clips the graphic. |
Clips the graphic. | ||
distance_traveled_strength optional | :: Vector | How much the pod's distance traveled moves the cloud coordinates |
How much the pod's distance traveled moves the cloud coordinates | ||
effect optional | :: CoverGraphicEffectData | Clips the graphic. |
Clips the graphic. | ||
effect_graphic optional | :: ProcessionGraphic | Used by certain effects. |
Used by certain effects. | ||
graphic optional | :: ProcessionGraphic | Main texture of the layer. |
Main texture of the layer. | ||
inherit_from optional | :: ProcessionLayerInheritanceGroupID | Adds the final position value from given layer to this one. |
Adds the final position value from given layer to this one. | ||
is_cloud_effect_advanced optional | :: boolean | Advanced cloud effect mask modifies the regular mask thresholds instead of being a flat multiplication of the resulting opacity. |
Advanced cloud effect mask modifies the regular mask thresholds instead of being a flat multiplication of the resulting opacity. | ||
is_quad_texture optional | :: boolean | The texture and mask are interpreted as four smaller textures that are randomly tiled. |
The texture and mask are interpreted as four smaller textures that are randomly tiled. | ||
mask_graphic optional | :: ProcessionGraphic | Opacity gradient of the layer. |
Opacity gradient of the layer. | ||
pod_movement_strength optional | :: Vector | How much the pod's position moves the cloud coordinates |
How much the pod's position moves the cloud coordinates | ||
reference_group optional | :: ProcessionLayerInheritanceGroupID | The group this layer belongs to, for inheritance. |
The group this layer belongs to, for inheritance. | ||
render_layer optional | :: RenderLayer | |
rotate_with_pod optional | :: boolean | Add rotation of the pod to the cloud rotation. |
Add rotation of the pod to the cloud rotation. | ||
secondary_draw_order optional | :: int8 | |
texture_relative_to optional | :: EffectRelativeTo | Where the tiled texture is centered and rotated. |
Where the tiled texture is centered and rotated. | ||
world_size optional | :: Vector | Size the textures are scaled to in the world. |
Size the textures are scaled to in the world. |
The group this layer belongs to, for inheritance.
Adds the final position value from given layer to this one.
Main texture of the layer.
Opacity gradient of the layer.
Used by certain effects.
Default: "object"
Default: 0
Default: false
Advanced cloud effect mask modifies the regular mask thresholds instead of being a flat multiplication of the resulting opacity.
Default: false
The texture and mask are interpreted as four smaller textures that are randomly tiled.
Default: "ground-origin"
Where the tiled texture is centered and rotated.
Default: {0,0}
How much the pod's distance traveled moves the cloud coordinates
Default: {1,1}
How much the pod's position moves the cloud coordinates
Default: {512, 512}
Size the textures are scaled to in the world.
Clips the graphic.
Clips the graphic.
Default values if unspecified:
opacity : 1.0
rotation : 0.0
effect_scale_min : 0.0
effect_scale_max : 1.0
effect_shift : {0, 0}
alt_effect_scale_min : 0.0
alt_effect_scale_max : 1.0
alt_effect_shift : {0, 0}
offset : {0, 0}
One frame in time for a Bezier interpolation.
Mandatory if opacity
or rotation
or effect_scale_min
or effect_scale_max
is defined.
opacity
and opacity_t
interpolate a double smoothly over time.
Bidirectional tangent at the given timestamp.
rotation
and rotation_t
interpolate a double smoothly over time.
Bidirectional tangent at the given timestamp.
effect_scale_min
and effect_scale_min_t
interpolate a double smoothly over time.
Bidirectional tangent at the given timestamp.
effect_scale_max
and effect_scale_max_t
interpolate a double smoothly over time.
Bidirectional tangent at the given timestamp.
alt_effect_scale_min
and alt_effect_scale_min_t
interpolate a double smoothly over time.
Bidirectional tangent at the given timestamp.
alt_effect_scale_max
and alt_effect_scale_max_t
interpolate a double smoothly over time.
Bidirectional tangent at the given timestamp.
effect_shift
and effect_shift_t
interpolate a vector smoothly over time using effect_shift_rate
and effect_shift_rate_t
for a 0-1 rate curve.
Vector value.
Vector tangent.
Rate 0-1 value.
Rate tangent.
alt_effect_shift
and alt_effect_shift_t
interpolate a vector smoothly over time using alt_effect_shift_rate
and alt_effect_shift_rate_t
for a 0-1 rate curve.
Vector value.
Vector tangent.
Rate 0-1 value.
Rate tangent.
offset
and offset_t
interpolate a vector smoothly over time using offset_rate
and offset_rate_t
for a 0-1 rate curve.
Vector value.
Vector tangent.
Rate 0-1 value.
Rate tangent.