Garry's Mod Wiki

GM:SetupSkyboxFog

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

Special Pages


Wikis

?

Render Time: 58ms

DB GetPage 38
Generate Html 2
SaveChanges (1) 5
Render Body 0
Render Sidebar 9