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

SirYodaJedi (talk | contribs) m (See recent $opaque edit) |
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=$mostlyopaque}} It causes the [[model]] to be rendered in two passes: The first pass renders only the ''opaque'' portions of the model, and the second pass renders only the ''translucent'' portion of the model. | |||
The use of <code>$mostlyopaque</code> can be used to improve the visual quality of models such as foliage or underbrush, by improving the lighting on the translucent [[materials]]. | The use of <code>$mostlyopaque</code> can be used to improve the visual quality of models such as foliage or underbrush, by improving the lighting on the translucent [[materials]]. | ||
== Syntax == | == Syntax == | ||
$mostlyopaque | |||
$mostlyopaque | |||
== See also == | == See also == | ||
*[[$opaque]] - Similar command for models that have ''mostly'' opaque materials, and renders in one pass. | * [[$opaque]] - Similar command for models that have ''mostly'' opaque materials, and renders in one pass. | ||
[[Category:QC Commands|mostlyopaque]] | [[Category:QC Commands|mostlyopaque]] |
Revision as of 17:46, 14 July 2024


$mostlyopaque
is a QC command available in all Source games. It causes the model to be rendered in two passes: The first pass renders only the opaque portions of the model, and the second pass renders only the translucent portion of the model.
The use of $mostlyopaque
can be used to improve the visual quality of models such as foliage or underbrush, by improving the lighting on the translucent materials.
Syntax
$mostlyopaque
See also
- $opaque - Similar command for models that have mostly opaque materials, and renders in one pass.