Garry's Mod Wiki

VIEW

Description

Enumerations used by render.RenderView inside of ViewData structure.

Values

VIEW_MAIN0Default value
VIEW_3DSKY13D skybox
VIEW_MONITOR2Rendering for _rt_Camera base texture material (func_monitor, info_camera_link).
VIEW_REFLECTION3Water reflection
VIEW_REFRACTION4Water refraction
VIEW_INTRO_PLAYER5Used by script_intro entity.
VIEW_INTRO_CAMERA6Used by script_intro entity.
VIEW_SHADOW_DEPTH_TEXTURE7Internally used for ProjectedTexture and flashlight.
VIEW_SSAO8For SSAO depth. Can be accessed via render.GetResolvedFullFrameDepth.