Garry's Mod Wiki

Garry's Mod Wiki

  boolean GM:PreDrawSkyBox()

Description

Called before the 3D sky box is drawn. This will not be called for maps with no 3D skybox, or when the 3d skybox is disabled. (r_3dsky 0)

See also GM:PostDrawSkyBox

This is a rendering hook which provides a 3d rendering context.

Returns

1 boolean
Return true to disable skybox drawing (both 2D and 3D skybox)

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...