Garry's Mod Wiki

GM:RenderScene

  boolean GM:RenderScene( Vector origin, Angle angles, number fov )

Description

Render the scene. Used by the Stereoscopy post-processing effect.

Materials rendered in this hook require $ignorez parameter to draw properly.

Arguments

1 Vector origin
View origin
2 Angle angles
View angles
3 number fov
View FOV

Returns

1 boolean
Return true to override drawing the scene.