WindowImposter: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Add example VMT file)
Line 5: Line 5:
Works on brushes only.
Works on brushes only.


== Example VMT ==
<syntaxhighlight line>
WindowImposter
{
"$envmap" "space/space_envmap"
}
</syntaxhighlight>


[[Category:Shaders]]
[[Category:Shaders]]
[[Category:Stubs]]
[[Category:Stubs]]

Revision as of 22:38, 28 June 2020

Stub

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

WindowImposter accepts only $envmap which is force drawn no matter the user settings or console commands used, like mat_specular 0. In Half-Life 2, WindowImposter is used by the material dev/dev_windowportal.vmt, and used extensively on func_illusionary or func_brush entities in conjunction with func_areaportalwindow.


Works on brushes only.

Example VMT

WindowImposter
{
	"$envmap" "space/space_envmap"
}