Template:Skycell

Da Valve Developer Community.
Vai alla navigazione Vai alla ricerca
Todo: Automatic coloring breaks on browsers that automatically create phone number links….
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [visualizza] [modifica] [crea Italiano (it)]
Icon-translate.png Available doc translations
Info.png
The Template:Skycell/doc/it documentation page does not exist.
English documentation will be displayed instead, which you can translate using Google Translate (or similar software). If there is nothing after this message, most likely the documentation does not exist even in English.

A template for use in Sky List tables for the brightness and ambience table cells.

Documentation

This template accepts up to five parameters. The first four parameters should be the standard color and brightness values from the light_environment, while the fifth value (optional) should be the HDR scale for the brightness or ambience. The first three parameters are used to fill in the background color of the table cell that the Skycell template is used in.

Note.pngNota:If the HDR brightness and ambience values are -1 -1 -1 1, use the Template:Vec4 or Template:Vec5 templates instead. This is because this template will color the background completely black with those values. This is undesired, as those values tell HDR to use the same values as LDR.

Example

| {{Skycell|239|207|141|350}}

| {{Skycell|75|96|116|300}}

These skycell templates are used in the Sky table below. To see where and how they are used, check this page's source.

sky_day03_04
Sky day03 04.jpg
Example Map Ideal Sun Angle Ideal Sun Pitch Ideal Brightness Ideal Ambience Ideal HDR Brightness (Scale) Ideal HDR Ambience (Scale) Ideal Sun Spread Angle
d3_c17_08 0 53 0 -60 239 207 141 350  75 96 116 300  -1 -1 -1 -1 (.7) -1 -1 -1 -1 (1) 0