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

Page Links


Special Pages


Wikis

?

Render Time: 64ms

DB GetPage 37
Generate Html 1
SaveChanges (1) 11
Render Body 0
Render Sidebar 12