|
ASW Lib
A.D.S. Games SDL Wrapper Library. A library targeted at Allegro4 users who want to switch to SDL3 and use modern c++.
|
Classes | |
| class | AmbientCycle |
| Ambient colour that changes over a repeating cycle, such as a day. More... | |
| struct | Light |
| A light. Positions are in world space when the light map has a camera, otherwise in screen space. More... | |
| class | LightMap |
| A screen sized texture of light, multiplied over the scene. More... | |
| class | TileLight |
| Light that spreads across a grid of tiles and stops at solid tiles. More... | |
Enumerations | |
| enum class | ShadowMode { None , Cast , Visibility } |
| How lights are blocked by occluders. More... | |
|
strong |
How lights are blocked by occluders.
| Enumerator | |
|---|---|
| None | Light goes through occluders. |
| Cast | Each edge facing away from a light casts a shadow. Occluders stay lit on the side that faces the light. One render pass per light. |
| Visibility | Each light fills only what it can see. Occluders stay dark. Cheaper than Cast, and gives hard edges. |
Definition at line 26 of file lighting.h.