Template:Skycell

来自Valve Developer Community
跳转到导航 跳转到搜索
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.png模板文档 [查看] [编辑] [创建 中文 (zh)]
Icon-translate.png Available doc translations
Info.png
文档页面 Template:Skycell/doc/zh 不存在。
模板将改为显示英文文档。如果此消息后没有任何内容,则很可能该文档甚至不存在英文版本。

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.png注意: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
示例地图 理想的太阳角度 理想的太阳球场(Pitch) 理想的亮度 理想的氛围(Ambience) 理想的 HDR 亮度 (Scale) 理想的 HDR 氛围 (Scale) 理想的太阳传播角度
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