This article's documentation is for anything that uses the Source engine. Click here for more information.

$multipass: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{LanguageBar|$multipass}}
{{stub}}
{{stub}}
'''$multipass''' is a VMT command which forces a material to be rendered in separate rendering 'passes'. This can fix issues with translucent materials, although rendering will be more expensive.
{{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]], and 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?}}

Latest revision as of 00:29, 30 June 2025

English (en)Translate (Translate)

Stub

This article or section is a stub. You can help by expanding it.

$multipass is a material shader parameter available in all Source 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?