|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
The scene as seen from a point, all round, for a probe volume filled at run time. More...
#include "RenderFrame.hpp"#include "../../core/FrameProfiler.hpp"#include "../../core/Log.hpp"#include <glm/gtc/constants.hpp>#include <glm/gtc/matrix_transform.hpp>
Go to the source code of this file.
Namespaces | |
| namespace | esengine |
The scene as seen from a point, all round, for a probe volume filled at run time.
Six faces, one a frame: each is the scene collected and drawn from the point (as the planar reflection draws it from a mirrored camera), lit as the frame lights it, with no post-processing, into a small target of its own; then packed as RGBM into its slot of one 8-bit atlas the SDK reads back. One a frame because a frame writes its transient vertices and its frame constants once: six faces in one frame would all draw what the last wrote. A pixel nothing was drawn on (the sky, which post-processing paints) keeps alpha 0 for the reader to fill.
Definition in file RenderFrameProbeCapture.cpp.