Func areaportalwindow



It creates an that automatically closes as the camera moves away, replacing itself with a second brush to fill the gap.

An example use is on the right, from. When the player is close to the window, the entity is open and the game only renders what's directly visible through the window as opposed to the entire. When the player backs up, the view outside is replaced with a hazy low-res texture. Aggressive use of areaportals allows the engine to only render a small fraction of the outside at once.