$opaque

From Valve Developer Community
Revision as of 20:05, 29 October 2015 by Zwip-Zwap Zapony (talk | contribs) (Put it in the "O" letter of the QC Commands category content list.)

Jump to: navigation, search

Causes the model to be assumed to be opaque with respect to its sorting against all other objects in the scene. Use this in cases where only a small portion of the model is translucent (hair, eyes, glasses, etc.) so if there are any sorting issues, it won’t matter.

Syntax

$opaque