Helpers for setting up some OpenGL debugging and light state functionality.
Definition: diguyOglUtils.h:15
The diguyViewLight provides a interface around a scene light useful in diguy scenario and the opengl ...
Definition: diguyViewLight.h:60
void render_shadow_map(diguyViewLight *light, diguyScenario *scenario)
void install_opengl_debug_callbacks()
helper function that installs the glDebugMessageCallback, the modern way of catching OpenGL errors...
Represents the scenario currently being portrayed.
Definition: diguyScenario.h:99
void update_lighting(diguyScenario *scenario)
helper function that feeds light data from various diguy systems to OpenGL uniform buffers...