Difference between revisions of "$opaque"

From Valve Developer Community
Jump to: navigation, search
m (Put it in the "O" letter of the QC Commands category content list.)
(Added link to related $mostlyopaque command)
Line 5: Line 5:
  
 
[[Category:QC Commands|o]]
 
[[Category:QC Commands|o]]
 +
 +
== See Also ==
 +
* [[$mostlyopaque]] - Similar command for models that have translucent materials.

Revision as of 04:24, 15 June 2019

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

See Also

  • $mostlyopaque - Similar command for models that have translucent materials.