Home

WaterTileEffectParameters

Type

struct

Properties

specular_lightness

foam_color

foam_color_multiplier

tick_scale

animation_speed

animation_scale

dark_threshold

reflection_threshold

specular_threshold

textures

Texture size must be 512x512. Shader variant "water" must have 1 texture, "lava" and "wetland-water" must have 2 textures and "oil" must have 4 textures.

near_zoom

far_zoom

lightmap_alpha

Value 0 makes water appear as water in water mask, but does not occlude lights, and doesn't overwrite lightmap alpha drawn to pixel previously (by background layer of tile transition, or underwater sprite). Light emitted by water-like-tile (for example lava) will blend additively with previously rendered light. Value 1 makes water occlude lights, but won't be recognized as water in water mask used for masking decals by water.

shader_variation

texture_variations_rows

texture_variations_columns

secondary_texture_variations_rows

secondary_texture_variations_columns