|
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++.
|
2D lighting with a light map, shadows and tile lighting More...
#include <SDL3/SDL.h>#include <cstddef>#include <cstdint>#include <utility>#include <vector>#include "./camera.h"#include "./color.h"#include "./geometry.h"#include "./types.h"Go to the source code of this file.
Classes | |
| struct | asw::lighting::Light |
| A light. Positions are in world space when the light map has a camera, otherwise in screen space. More... | |
| class | asw::lighting::AmbientCycle |
| Ambient colour that changes over a repeating cycle, such as a day. More... | |
| class | asw::lighting::TileLight |
| Light that spreads across a grid of tiles and stops at solid tiles. More... | |
| struct | asw::lighting::TileLight::Source |
| class | asw::lighting::LightMap |
| A screen sized texture of light, multiplied over the scene. More... | |
| struct | asw::lighting::LightMap::Glow |
| struct | asw::lighting::LightMap::Tiles |
Namespaces | |
| namespace | asw |
| namespace | asw::lighting |
Enumerations | |
| enum class | asw::lighting::ShadowMode { asw::lighting::None , asw::lighting::Cast , asw::lighting::Visibility } |
| How lights are blocked by occluders. More... | |
2D lighting with a light map, shadows and tile lighting
Definition in file lighting.h.