Garry's Mod Wiki

Revision Difference

Shaders/g_sky#517107

<cat>shader</cat> <shader> <description>This shader was especially designed to be used with with maps, in particular the cube maps(up, down, front, back, left, right), they allow to modify the ambiance of a map.</description> <parameters>{{ShaderParameter|Vector|bottomcolor|The top bottom of the texture(used for gradient)</parameters>⤶ <parameters>⤶ <item name="bottomcolor" type="Vector">The top bottom of the texture(used for gradient)</item>⤶ ⤶ <item name="duskcolor" type="Vector">The dusk color</item>⤶ ⤶ <item name="duskscale" type="number">The scale of the dusk</item>⤶ ⤶ <item name="duskintensity" type="number">The intensity of the dusk</item>⤶ ⤶ <item name="fadebias" type="number">The fade bias</item>⤶ ⤶ <item name="hdrscale" type="number">The HDR scale</item>⤶ ⤶ <item name="suncolor" type="Vector">The color of the sun</item>⤶ ⤶ <item name="sunnormal" type="Vector">The normal of the sun</item>⤶ ⤶ <item name="sunsize" type="number">The size of the sun</item>⤶ ⤶ <item name="topcolor" type="Vector">The top color of the texture(used for gradient)</item>⤶ </parameters>⤶ </shader> ⤶ ⤶ {{ShaderParameter|Vector|duskcolor|The dusk color}}⤶ {{ShaderParameter|number|duskscale|The scale of the dusk}}⤶ {{ShaderParameter|number|duskintensity|The intensity of the dusk}}⤶ {{ShaderParameter|number|fadebias|The fade bias}}⤶ {{ShaderParameter|number|hdrscale|The HDR scale}}⤶ {{ShaderParameter|Vector|suncolor|The color of the sun}}⤶ {{ShaderParameter|Vector|sunnormal|The normal of the sun}}⤶ {{ShaderParameter|number|sunsize|The size of the sun}}⤶ {{ShaderParameter|Vector|topcolor|The top color of the texture(used for gradient)}}⤶ }}