3#include "DeferredLight.hpp"
5#include "renderers/DebugLightRenderer.hpp"
7#include "scene/Scene.hpp"
8#include "renderers/Renderer.hpp"
10#include "resources/Texture.hpp"
29 void setScene(
const std::shared_ptr<Scene> & scene);
This class represents a camera as used in real-time rendering APIs. It provides a view and projection...
Definition: Camera.hpp:11
Visualize lights as colored wireframe objects.
Definition: DebugLightRenderer.hpp:17
Provide debuggging visualization for most scene elements.
Definition: DebugRenderer.hpp:19
float _probeRoughness
Radiance level to display.
Definition: DebugRenderer.hpp:63
void setScene(const std::shared_ptr< Scene > &scene)
Definition: DebugRenderer.cpp:79
const Mesh * _sphere
Sphere mesh.
Definition: DebugRenderer.hpp:53
std::shared_ptr< Scene > _scene
The scene to render.
Definition: DebugRenderer.hpp:51
void draw(const Camera &camera, Texture *dstColor, Texture *dstDepth, uint layer=0) override
Definition: DebugRenderer.cpp:88
bool _showFrame
Show world frame (grid and gizmo).
Definition: DebugRenderer.hpp:67
Program * _probeProgram
Light probe visu.
Definition: DebugRenderer.hpp:54
DebugLightRenderer _lightDebugRenderer
The lights debug renderer.
Definition: DebugRenderer.hpp:50
Program * _boxesProgram
Bounding boxes visu.
Definition: DebugRenderer.hpp:55
ProbeMode
Definition: DebugRenderer.hpp:42
@ RADIANCE
(preconvolved) radiance cubemap.
@ SHCOEFFS
Irradiance SH coeffs.
DebugRenderer()
Definition: DebugRenderer.cpp:7
Mesh _cubeLines
General wireframe cube.
Definition: DebugRenderer.hpp:60
void interface() override
Definition: DebugRenderer.cpp:219
Mesh _sceneBoxes
Bounding boxes of all scene objects.
Definition: DebugRenderer.hpp:58
Program * _frameProgram
Frame and gizmo visu.
Definition: DebugRenderer.hpp:56
ProbeMode _probeMode
Probe info to display.
Definition: DebugRenderer.hpp:62
void updateSceneMesh()
Definition: DebugRenderer.cpp:200
Mesh _frame
Gizmo and grid in world space.
Definition: DebugRenderer.hpp:59
bool _showProbe
Show probe data.
Definition: DebugRenderer.hpp:65
bool _showLights
Show lights wireframe.
Definition: DebugRenderer.hpp:64
bool _showBoxes
Show scene objects bounding boxes.
Definition: DebugRenderer.hpp:66
Represents a geometric mesh composed of vertices, other attributes and triangles.
Definition: Mesh.hpp:15
Represents a group of shaders used for rendering.
Definition: Program.hpp:31
Base structure of a renderer.
Definition: Renderer.hpp:10
Represents a texture containing one or more images, stored on the CPU and/or GPU.
Definition: Texture.hpp:12