Game logic - Custom Post Process – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|19}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|13}}}}")
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=Description=
=Description=
*Allows to control Post Processes of the game visuals, s. a. color filters, saturation, contrast etc.
*Allows to control Post Processes of the game visuals, s. a. color filters, saturation, contrast etc.
*[[Ylands Game logic - Environment|Environment]] zones can attach Post Processes to themselves, thus using it for particular area.
*[[Ylands:Game logic - Environment|Environment]] zones can attach Post Processes to themselves, thus using it for particular area.


=Properties=
= Properties =


===Active for new Player===  
=== Active for new Player ===
*New players will see effects of the Post Process immediately as they join the game.
*New players will see effects of the Post Process immediately as they join the game.


===Priority===
=== Priority ===
*When more of the Post Process overlap, they are be applied in order according to priority (highest>lowest).
*When more of the Post Process overlap, they are be applied in order according to priority (highest>lowest).
*If there is a tie, order is determined randomly.
*If there is a tie, order is determined randomly.
*Priority can be set in scale 0-100.
*Priority can be set in scale 0-100.


===Weight===
=== Weight ===
*Determines how heavily will be the effect applied (0 not at all - 1 fully).
*Determines how heavily will be the effect applied (0 not at all - 1 fully).


===Effect Type===
=== Effect Type ===
*Use preset effects
*Use preset effects
**''Default'' - Same as no effect
**''Default'' - Same as no effect
Line 30: Line 30:
*Custom Basic - is easy to use custom effect filter
*Custom Basic - is easy to use custom effect filter


*Custom Advanced - has more functions described bellow
*Custom Advanced - has more functions described below


===Color Temperature===
=== Color Temperature ===
*Shifts the colors towards colder (0) or warmer (200) spectrum.
*Shifts the colors towards colder (0) or warmer (200) spectrum.


===White Tint===
=== White Tint ===
*Adding more white into the colors.
*Adding more white into the colors.


===Color Filter===
=== Color Filter ===
*Can set a specific color as a filter.
*Can set a specific color as a filter.


===Hue Shift===
=== Hue Shift ===
*Shifts the colors through the visible spectrum.
*Shifts the colors through the visible spectrum.
*-180/180 (edges are opposite to default colors).
*-180/180 (edges are opposite to default colors).


===Saturation===
=== Saturation ===
*Saturates the colors from 0 (greyscale) to 200 (colors at 200%).
*Saturates the colors from 0 (greyscale) to 200 (colors at 200%).


===Contrast===
=== Contrast ===
*Adjusts contrast between colors.
*Adjusts contrast between colors.


===Color Channels===
=== Color Channels ===
*Each color (Red, Green and Blue) has its own channel.
*Each color (Red, Green and Blue) has its own channel.
*In those channels fractions of all colors can be determined.
*In those channels fractions of all colors can be determined.


=Related instructions=
= Related instructions =
*[[Ylands Tile - Get-set is active Custom Post Process|Get / set is active Custom Post Process]]
*[[Ylands:Tile - Get-set is active Custom Post Process|Get / set is active Custom Post Process]]
*[[Ylands Tile - Get-set post process color filter|Get / set post process color filter]]
*[[Ylands:Tile - Get-set post process color filter|Get / set post process color filter]]
*[[Ylands Tile - Get-set post process contrast|Get / set post process contrast]]
*[[Ylands:Tile - Get-set post process contrast|Get / set post process contrast]]
*[[Ylands Tile - Get-set post process hue shift|Get / set post process hue shift]]
*[[Ylands:Tile - Get-set post process hue shift|Get / set post process hue shift]]
*[[Ylands Tile - Get-set post process priority|Get / set post process priority]]
*[[Ylands:Tile - Get-set post process priority|Get / set post process priority]]
*[[Ylands Tile - Get-set post process saturation|Get / set post process saturation]]
*[[Ylands:Tile - Get-set post process saturation|Get / set post process saturation]]
*[[Ylands Tile - Get-set post process weight|Get / set post process weight]]
*[[Ylands:Tile - Get-set post process weight|Get / set post process weight]]


----
----
{{Ylands scripting navbox}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|19}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|13}}}}


[[Category: Game Logic]]
[[Category: Game Logic]]
[[Category: Ylands 1.1]]
[[Category: Ylands 1.1]]

Latest revision as of 14:21, 24 November 2023

Description

  • Allows to control Post Processes of the game visuals, s. a. color filters, saturation, contrast etc.
  • Environment zones can attach Post Processes to themselves, thus using it for particular area.

Properties

Active for new Player

  • New players will see effects of the Post Process immediately as they join the game.

Priority

  • When more of the Post Process overlap, they are be applied in order according to priority (highest>lowest).
  • If there is a tie, order is determined randomly.
  • Priority can be set in scale 0-100.

Weight

  • Determines how heavily will be the effect applied (0 not at all - 1 fully).

Effect Type

  • Use preset effects
    • Default - Same as no effect
    • Greyscale - Only shades of black&white
    • Noir - In shades of black&white, but using more contrast for depth
    • Sepia - "Old photography"-like effect
    • Vintage - Old warm colors filter
    • Movie - "Hollywood"-like style filter
    • Negative - Reversed colors and forced contrast
    • Psychedelic - Dream-like filter
    • Alien - Other-wordly colors
  • Custom Basic - is easy to use custom effect filter
  • Custom Advanced - has more functions described below

Color Temperature

  • Shifts the colors towards colder (0) or warmer (200) spectrum.

White Tint

  • Adding more white into the colors.

Color Filter

  • Can set a specific color as a filter.

Hue Shift

  • Shifts the colors through the visible spectrum.
  • -180/180 (edges are opposite to default colors).

Saturation

  • Saturates the colors from 0 (greyscale) to 200 (colors at 200%).

Contrast

  • Adjusts contrast between colors.

Color Channels

  • Each color (Red, Green and Blue) has its own channel.
  • In those channels fractions of all colors can be determined.

Related instructions