Game logic - Custom Post Process – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "=Description= *Helps =Properties= ===Zone shape=== ===Light intensity=== ===Visible=== ===Color=== =Related instructions= *Ylands Tile - Game logic position-rotat...")
 
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|19}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|13}}}}")
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
=Description=
=Description=
*Helps
*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.


=Properties=
= Properties =


===Zone shape===  
=== 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.


===Light intensity===
=== 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


===Visible===
*Custom Basic - is easy to use custom effect filter


*Custom Advanced - has more functions described below


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


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


=Related instructions=
=== Color Filter ===
*[[Ylands Tile - Game logic position-rotation-scale|Get Position / Rotation / Scale]]
*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 =
*[[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 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 priority|Get / set post process priority]]
*[[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 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