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

Kestrelguy (talk | contribs) (added language bar. is a stub.) |
m (Replacing with "This is a" template) |
||
Line 1: | Line 1: | ||
{{lang|$multipass}} | {{lang|$multipass}} | ||
{{stub}} | {{stub}} | ||
{{ | {{This is a|shader parameter|name=$multipass}} It forces a material to be rendered in separate rendering "passes." This can fix issues with translucent materials, although rendering will be more expensive. | ||
This command is required to allow DX6 + DX7 users to see [[cubemaps]]. It has also been used on breakable glass materials. | This command is required to allow DX6 + DX7 users to see [[cubemaps]]. It has also been used on breakable glass materials. | ||
{{Todo|What does it ''exactly'' do, and for what other reasons is it needed?}} | {{Todo|What does it ''exactly'' do, and for what other reasons is it needed?}} |
Revision as of 10:15, 10 August 2024


$multipass
is a material shader parameter available in all Source games. It forces a material to be rendered in separate rendering "passes." This can fix issues with translucent materials, although rendering will be more expensive.
This command is required to allow DX6 + DX7 users to see cubemaps. It has also been used on breakable glass materials.
Todo: What does it exactly do, and for what other reasons is it needed?