Garry's Mod Wiki


boolean GM:PreDrawSkyBox()


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.


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

Page Links

Special Pages



Render Time: 75ms

DB GetPage 41
Generate Html 4
SaveChanges (1) 15
Render Body 0
Render Sidebar 12