From Valve Developer Community
Jump to: navigation, search

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


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 Note: 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.


| {{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.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