Raftel Engine
 
Loading...
Searching...
No Matches
shadow.hpp File Reference

Header file for managing the shadow map in OpenGL. More...

#include <GL/glew.h>
#include "glm/mat4x4.hpp"
#include "raftel/global_macros.hpp"
#include <vector>

Go to the source code of this file.

Classes

class  Raftel::ShadowMap
 Class responsible for managing the shadow map. More...
 

Macros

#define SHADOW_WIDTH   1024
 
#define SHADOW_HEIGHT   1024
 

Detailed Description

Header file for managing the shadow map in OpenGL.

Date
2025-03-10
Authors
Carlos Mazcuñán Blanes, Marc Folgado Balbás

This file defines the ShadowMap class that is responsible for generating and managing the shadow map used for shadow rendering. It includes methods to bind/unbind the framebuffer, manage depth textures, and handle light space matrices for both point and directional light sources.

Definition in file shadow.hpp.

Macro Definition Documentation

◆ SHADOW_HEIGHT

#define SHADOW_HEIGHT   1024

Definition at line 26 of file shadow.hpp.

◆ SHADOW_WIDTH

#define SHADOW_WIDTH   1024

Definition at line 25 of file shadow.hpp.