$opaque: Difference between revisions
Jump to navigation
Jump to search

SirYodaJedi (talk | contribs) m (Models are automatically assumed $opaque if no translucency is present on any mats) |
Trigger hurt (talk | contribs) m (Making use of the "this is a" template for the first line here + cleanup) |
||
Line 1: | Line 1: | ||
{{LanguageBar}} | |||
{{this is a|QC command|name=$opaque}} It 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 == | == Syntax == | ||
$opaque | |||
[[Category:QC Commands|o]] | [[Category:QC Commands|o]] |
Revision as of 17:46, 14 July 2024


$opaque
is a QC command available in all Source games. It 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, which renders in two passes.