WindowImposter
		
		
		
		Jump to navigation
		Jump to search
		
WindowImposter accepts only $envmap which is force drawn no matter the user settings or console commands used, like mat_specular 0.
 Note:Does accept some parameters in
Note:Does accept some parameters in  Garry's Mod, such as $alpha
 Garry's Mod, such as $alphaTodo: Which parameters? Other branches?
The faces' orientation isn't taken into account when reflecting the cubemap, which makes it very convenient for making multiple fake skyboxes.
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.
Example VMT
WindowImposter
{
	"$envmap" "space/space_envmap"
}