|
Monad Engine da02fba2
> Undercity Codex_
|
Three.js-style pixel-art post-pass. More...
#include "GL/glew.h"
Include dependency graph for PostProcess.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | mnd::PostProcess |
Namespaces | |
| namespace | mnd |
Three.js-style pixel-art post-pass.
Reads the scene RenderTarget's three attachments (colour, view-normals, depth), computes depth-edge and normal-edge indicators a la threejs.org/examples/webgl_postprocessing_pixel.html, and writes the result into its own colour FBO for the final BlitNearest upscale.
For the current full-resolution RenderTarget path, pixelation is done in this pass by snapping colour/depth/normal samples to RenderSettings::pixelSize screen-pixel cells before applying the optional edge term.
Definition in file PostProcess.h.