Optimizing the levels with VisAreas and portals
A VisArea is used to define indoor areas that have their own ambient color. You can also create indoor areas without this entity; however you will not be able to achieve totally dark lighting conditions as the bright outdoor ambient lighting also affects indoor areas.
Objects inside a VisArea won't be rendered from outside
Helps to set up lighting inside rooms
With portals you can cut holes inside the VisAreas
Portals have to be smaller than the VisArea shape
You can enable/disable portals via FG
You can have multiple portals in one VisArea
Getting ready
Open any level and set up a small structure similar to the screenshot as shown next.
How to do it...
Lets create our own VisArea:
On the RollupBar, go to Area | VisArea.
Place the VisArea shape around your room.
Set the height.
Be sure everything related is inside the VisArea. Try to stay on the grid. Keep the shape of the VisArea as simple as possible.
Next we must create a portal for our room. Portals...