Design: one PostChain per output camera, selected by node masks (kMainViewMask, kPopViewMask, kRenderViewMask). With every effect off the chain draws the scene directly, so there is no cost by default. When active, a nested FBO camera renders the scene (float colour if supported) with the output camera's view and a projection whose near/far is re-fitted to the scene each cull (the output cameras use fixed 0.1/1000, which clipped scaled stages' sky domes). All shaders are GLSL 1.20.
Also: Look panel sections + presets (Anime: bloom/FXAA; Studio: bloom/AO/filmic/FXAA/vignette), .mrscene persistence (optional keys), CLI --bloom S --ao on|off --fxaa on|off --filmic on|off, grid gets an explicit vertex-colour shader and no depth writes.
Tested: Linux + Mac builds and mr_tests; screenshots of each effect on Miku and Karin+WinterWorld (Linux) and winter-raver2 (Mac); final PNG render with effects on Linux. Mac frame time (winter-raver2): off 36 ms, filmic only 40, FXAA 41, bloom 42, AO 46, all 49. Not tested: Windows build, pop-out window with effects on the Mac.
Adds a post-processing chain to the viewport, pop-out window and final renders (`src/render/PostFx.{h,cpp}`).
- **Bloom**: soft-knee luminance threshold, quarter-res separable Gaussian.
- **Ambient occlusion**: half-res SSAO from the depth buffer (normals from depth derivatives), fades with distance.
- **Colour grading**: filmic (ACES fit) tone mapping, exposure, contrast, saturation, temperature, vignette.
- **Anti-aliasing**: FXAA.
Design: one `PostChain` per output camera, selected by node masks (`kMainViewMask`, `kPopViewMask`, `kRenderViewMask`). With every effect off the chain draws the scene directly, so there is no cost by default. When active, a nested FBO camera renders the scene (float colour if supported) with the output camera's view and a projection whose near/far is re-fitted to the scene each cull (the output cameras use fixed 0.1/1000, which clipped scaled stages' sky domes). All shaders are GLSL 1.20.
Also: Look panel sections + presets (Anime: bloom/FXAA; Studio: bloom/AO/filmic/FXAA/vignette), `.mrscene` persistence (optional keys), CLI `--bloom S --ao on|off --fxaa on|off --filmic on|off`, grid gets an explicit vertex-colour shader and no depth writes.
Tested: Linux + Mac builds and `mr_tests`; screenshots of each effect on Miku and Karin+WinterWorld (Linux) and winter-raver2 (Mac); final PNG render with effects on Linux. Mac frame time (winter-raver2): off 36 ms, filmic only 40, FXAA 41, bloom 42, AO 46, all 49. Not tested: Windows build, pop-out window with effects on the Mac.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Adds a post-processing chain to the viewport, pop-out window and final renders (
src/render/PostFx.{h,cpp}).Design: one
PostChainper output camera, selected by node masks (kMainViewMask,kPopViewMask,kRenderViewMask). With every effect off the chain draws the scene directly, so there is no cost by default. When active, a nested FBO camera renders the scene (float colour if supported) with the output camera's view and a projection whose near/far is re-fitted to the scene each cull (the output cameras use fixed 0.1/1000, which clipped scaled stages' sky domes). All shaders are GLSL 1.20.Also: Look panel sections + presets (Anime: bloom/FXAA; Studio: bloom/AO/filmic/FXAA/vignette),
.mrscenepersistence (optional keys), CLI--bloom S --ao on|off --fxaa on|off --filmic on|off, grid gets an explicit vertex-colour shader and no depth writes.Tested: Linux + Mac builds and
mr_tests; screenshots of each effect on Miku and Karin+WinterWorld (Linux) and winter-raver2 (Mac); final PNG render with effects on Linux. Mac frame time (winter-raver2): off 36 ms, filmic only 40, FXAA 41, bloom 42, AO 46, all 49. Not tested: Windows build, pop-out window with effects on the Mac.