$opaque: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added link to related $mostlyopaque command)
(Added category tag)
Line 8: Line 8:
== See Also ==
== See Also ==
* [[$mostlyopaque]] - Similar command for models that have translucent materials.
* [[$mostlyopaque]] - Similar command for models that have translucent materials.
[[Category:QC Commands|opaque]]

Revision as of 21:25, 14 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.