Garry's Mod Wiki

GM:SetupSkyboxFog

  boolean GM:SetupSkyboxFog( number scale )

Description

Allows you to use render.Fog* functions to manipulate skybox fog. This will not be called for maps with no 3D skybox, or when the 3d skybox is disabled. (r_3dsky 0)

Arguments

1 number scale
The scale of 3D skybox

Returns

1 boolean
Return true to tell the engine that fog is set up