6#define NUM_DIRECTIONAL_LIGHTS 10
7#define NUM_POINT_LIGHTS 10
8#define NUM_SPOT_LIGHTS 10
u32 FBO
Alias for an unsigned int representing a Frame Buffer Object.
Definition aliases.h:110
#define NUM_POINT_LIGHTS
Definition depth_map.h:7
#define NUM_DIRECTIONAL_LIGHTS
Definition depth_map.h:6
#define NUM_SPOT_LIGHTS
Definition depth_map.h:8
void create_depthmap(DepthMap *depthMap, struct WorldShaders *shaders)
Creates a depth map for shadow mapping.
Definition depth_map.c:8
u32 TextureMap
Alias for u32 representing a texture map.
Definition memory.h:25
Defines structures and functions for handling 3D models and their properties.
DepthMap depthMap
Definition raptiquax.c:56
Represents a depth map used in rendering.
Definition depth_map.h:26
TextureMap matrixTexture
Definition depth_map.h:30
TextureMap texture
Definition depth_map.h:28
GLuint tbo
Definition depth_map.h:29
FBO frameBuffer[NUM_DIRECTIONAL_LIGHTS+NUM_POINT_LIGHTS *6+NUM_SPOT_LIGHTS]
Definition depth_map.h:27
A structure to hold various shaders used in the rendering process.
Definition render.h:25