Garry's Mod Wiki

g_sky

Description

This shader was especially designed to be used with maps, in particular the cube maps(up, down, front, back, left, right), they allow to modify the ambiance of a map.

Parameters

Vector bottomcolor
The top bottom of the texture(used for gradient)
Vector duskcolor
The dusk color
number duskscale
The scale of the dusk
number duskintensity
The intensity of the dusk
number fadebias
The fade bias
number hdrscale
The HDR scale
Vector suncolor
The color of the sun
Vector sunnormal
The normal of the sun
number sunsize
The size of the sun
Vector topcolor
The top color of the texture(used for gradient)