Prototype/TileEffect: Difference between revisions
Jump to navigation
Jump to search
(0.18.10) |
(optional in template) |
||
Line 35: | Line 35: | ||
== Optional properties == | == Optional properties == | ||
{{Prototype property|near_zoom|[[Types/float|float]]|2.0}} | {{Prototype property|near_zoom|[[Types/float|float]]|2.0|optional=true}} | ||
{{Prototype property|near_zoom|[[Types/float|float]]|0.5}} | {{Prototype property|near_zoom|[[Types/float|float]]|0.5|optional=true}} |
Revision as of 12:31, 3 March 2020
Prototype definitions » Prototype/TileEffect
Used to define the parameters for the water shader.
Prototype/TileEffect — tile-effect | ||
animation_scale | :: | array of one or two float |
animation_speed | :: | float |
dark_threshold | :: | array of one or two float |
foam_color | :: | Color |
foam_color_multiplier | :: | float |
name | :: | string |
reflection_threshold | :: | array of one or two float |
specular_lightness | :: | Color |
specular_threshold | :: | array of one or two float |
texture | :: | Sprite |
tick_scale | :: | float |
type | :: | string |
far_zoom | :: | float (optional) |
near_zoom | :: | float (optional) |
Mandatory properties
type
Type: string
Must be "tile-effect".
name
Type: string
Name of the tile-effect. Must be "water" since only one instances of this prototype can be defined.
specular_lightness
Type: Color
foam_color
Type: Color
foam_color_multiplier
Type: float
tick_scale
Type: float
animation_speed
Type: float
animation_scale
Type: array of one or two float
dark_threshold
Type: array of one or two float
reflection_threshold
Type: array of one or two float
specular_threshold
Type: array of one or two float
texture
Type: Sprite
Sprite size must be 512x512.
Optional properties
near_zoom
Type: float
Default: 2.0
near_zoom
Type: float
Default: 0.5