Garry's Mod Wiki

Garry's Mod Wiki

  DOFModeHack( boolean enable )

Description

A hacky method used to fix some bugs regarding DoF. What this basically does it force all C_BaseAnimating entities to have the translucent rendergroup, even if they use opaque or two-pass models.

This is used internally - although you're able to use it you probably shouldn't.

Arguments

1 boolean enable
Enables or disables depth-of-field mode

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 four times a day. Edits and history are not available.

Last Parsed: Loading...