|
lmgl 1.0.0
A lightweight OpenGL graphics engine library written in C++
|
This file contains the ShadowMap, CubemapShadowMap, and ShadowRenderer classes for rendering shadows in a 3D scene. More...
#include "lmgl/renderer/shader.hpp"#include "lmgl/scene/light.hpp"#include "lmgl/scene/scene.hpp"#include <glad/glad.h>#include <glm/glm.hpp>#include <memory>Go to the source code of this file.
Classes | |
| class | lmgl::renderer::ShadowMap |
| Manages a 2D depth texture for rendering shadows from directional lights. More... | |
| class | lmgl::renderer::CubemapShadowMap |
| Manages a cubemap depth texture for rendering shadows from point lights. More... | |
| class | lmgl::renderer::ShadowRenderer |
| Renders shadows for directional and point lights using shadow maps. More... | |
Namespaces | |
| namespace | lmgl |
| Forward declarations for Assimp Material structure. | |
| namespace | lmgl::renderer |
| Namespace for rendering-related classes and functions. | |
This file contains the ShadowMap, CubemapShadowMap, and ShadowRenderer classes for rendering shadows in a 3D scene.
ShadowMap class manages a 2D depth texture for directional light shadows. CubemapShadowMap class manages a cubemap depth texture for point light shadows. ShadowRenderer class provides methods to render shadows for directional and point lights using the respective shadow maps.