Difference between revisions of "Lighting:Leaks"

From Custom Map Makers Wiki
Jump to: navigation, search
(Common causes of light leaks)
Line 9: Line 9:
  
 
*Bright lights in confined areas will almost always leak, try to avoid large single light sources, use smaller values and more of them
 
*Bright lights in confined areas will almost always leak, try to avoid large single light sources, use smaller values and more of them
*Shared floors.
+
*Shared floors.walls or ceilings
 +
*Gaps in construction
  
Shared floors will also almost always leak light somewhere. A shared floor
+
Shared floors, walls or ceilings will also almost always leak light somewhere. A brush that is used in 2 rooms will encourage light to travel along the length of the brush in relation to the strength of the light.
 +
 
 +
To avoid this specific problem, use smaller brushes, several rather than one for the ground, wall or ceiling plane.
 +
 
 +
It has been known for light to travel across the void - where 2 planes are aligned like a floor in room a and a floor in room b
 +
 
 +
==Construction tips to avoid light leaks==
 +
 
 +
 
 +
==A practical demonstration, 2 rooms==

Revision as of 14:33, 19 August 2011

Roadworks.png This page is work in progress!

Light leaks are when a light in room a spreads under walls to room b,

Light leaks are an annoying side effect of the way the compiler works. With a little care this can generally be avoided at construction time but can be very difficult to fix retrospectively.

It's much easier to be aware that light can leak in your map and construct the map in a way to avoid this.

Common causes of light leaks

  • Bright lights in confined areas will almost always leak, try to avoid large single light sources, use smaller values and more of them
  • Shared floors.walls or ceilings
  • Gaps in construction

Shared floors, walls or ceilings will also almost always leak light somewhere. A brush that is used in 2 rooms will encourage light to travel along the length of the brush in relation to the strength of the light.

To avoid this specific problem, use smaller brushes, several rather than one for the ground, wall or ceiling plane.

It has been known for light to travel across the void - where 2 planes are aligned like a floor in room a and a floor in room b

Construction tips to avoid light leaks

A practical demonstration, 2 rooms