A structure to represent a camera with position and rotation in 3D space.
Definition camera.class.c:29
Structure representing a mesh.
Definition mesh.class.c:25
Represents a node in the tree structure.
Definition node.class.c:26
unsigned int Shader
Represents an unsigned integer used as a shader identifier.
Definition memory.h:26
void draw_scene(struct Window *window, struct Node *root, struct Camera *c, struct WorldShaders *shaders, struct DepthMap *depthMap)
Draws the entire scene.
Definition render.c:107
void draw_shadow_map(struct Window *window, struct Node *root, struct Camera *c, struct WorldShaders *shaders, struct DepthMap *depthMap)
Draws the shadow map for the scene.
Definition render.c:83
void draw_screen(struct Window *window, struct Node *scene, struct Camera *c, WorldShaders *shaders, struct DepthMap *depthMap, struct Mesh *screenPlane)
Draws the final screen output.
Definition render.c:132
void render_scene(struct Window *window, struct Node *node, struct Camera *c, mat4 modelMatrix, Shader activeShader, struct WorldShaders *shaders, int viewportWidth, int viewportHeight)
Renders the scene using the specified shader.
Definition render.c:17
DepthMap depthMap
Definition raptiquax.c:56
Window window
Definition raptiquax.c:53
Represents a depth map used in rendering.
Definition depth_map.h:26
Structure representing the SDL window and its associated OpenGL context.
Definition window.h:51
A structure to hold various shaders used in the rendering process.
Definition render.h:25
Shader light
Definition render.h:31
Shader depth
Definition render.h:27
Shader skybox
Definition render.h:29
Shader smaa
Definition render.h:35
Shader gui
Definition render.h:30
Shader render
Definition render.h:26
Shader screen
Definition render.h:28
Shader ssaoBlur
Definition render.h:34
Shader bloom
Definition render.h:36
Shader ssr
Definition render.h:32
Shader ssao
Definition render.h:33