Sly 2:Lighting
Jump to navigation
Jump to search
Subsystem | |
---|---|
Game | Sly 2: Band of Thieves |
The lighting system in Sly 2 is responsible for illuminating objects and casting shadows.
This article or section needs more images. |
Ambient lighting
This topic needs further investigation. |
Ambient lighting controls the base illumination of all entities in a level. It can be changed by modifying an RBG value in RAM.
Dynamic lights
This section is empty. You can help by adding to it. |
Shadows
There seems to be three types of shadows in the game:
- "Real" shadows - Cast in real-time by entities (and terrain in exterior maps).
- "Hard" shadows - Rendered as a special shadow entity in the level.
- "Soft" shadows - Baked into the level geometry/textures.
Each type of shadow is clearly visible when overlaps with a type of shadow lower on the list. When two "real" shadows overlap, they combine together.
Hard shadows
Hard shadows are only used on interior maps. Any map that uses them will have an entity called FK$Xmapname_shadows
. They were likely procedurally generated once the layout of each level was finalized.