Nothing Special   »   [go: up one dir, main page]

Garry's Mod Wiki

DOFModeHack

  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