$opaque: Difference between revisions
Jump to navigation
Jump to search
Tip:Using either
ReverendV92 (talk | contribs) (→Syntax: Code block for easy reading) |
ReverendV92 (talk | contribs) (Added note about $mostlyopaque using two passes) |
||
Line 1: | Line 1: | ||
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. | 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. | ||
{{tip|Using either <code>[[$mostlyopaque]]</code> or <code>$opaque</code> on ''all models'' is good form, as it prevents odd lighting errors and visual artifacts with shadows.}} | |||
== Syntax == | == Syntax == | ||
Line 7: | Line 9: | ||
== See Also == | == See Also == | ||
* [[$mostlyopaque]] - Similar command for models that have translucent materials. | * [[$mostlyopaque]] - Similar command for models that have translucent materials, which renders in two passes. | ||
[[Category:QC Commands|opaque]] | [[Category:QC Commands|opaque]] |
Revision as of 21:37, 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.

$mostlyopaque
or $opaque
on all models is good form, as it prevents odd lighting errors and visual artifacts with shadows.Syntax
$opaque
See Also
- $mostlyopaque - Similar command for models that have translucent materials, which renders in two passes.