Expand description
Post-processing of the HDR RenderTexture, configured by the PostProcessSettings resource.
The effects run in these render passes:
RenderPassFog(ID 30): exponential height fog, blended over the opaque geometry and the sky, before the transparent objects.RenderPassTaa(ID 90): temporal anti-aliasing of the HDR render texture, when it is theAntiAliasing.RenderPassBloom(ID 91): downsamples then upsamples the render texture through the bloom mips.RenderPassExposure(ID 92): eye adaptation, from a luminance histogram of the render texture (seeExposureSettings).RenderPassComposite(ID 95): composites the chromatic aberration, the bloom, the exposure, the color grading, the tonemapping, the vignette, the film grain and the dithering into the LDR texture of thePostProcessTextures.RenderPassSmaa(ID 96): edge detection and blending weights of the SMAA, when it is theAntiAliasing.RenderPassAntiAliasing(ID 97): anti-aliases the LDR texture (seeAntiAliasing).RenderPassPostProcess(ID 100): copies the anti-aliased image to the swapchain, sharpening it (seeSharpeningSettings).
To add a full-screen effect over the final image, add a sub-pass to RenderPassPostProcess. To add an HDR effect,
add a pass between 50 and 90 that reads and writes the render texture.
Structs§
- Bloom
Settings - Bloom of the bright parts of the image.
- Chromatic
Aberration Settings - Splitting of the color channels towards the image borders.
- Color
Grading - Color grading, applied in HDR before the tonemapping, except
lift,gammaandgainwhich are applied after. - Exposure
Settings - Exposure of the image, on top of
ColorGrading::exposure: a day/night compensation, and an optional eye adaptation to the image brightness, measured with a luminance histogram. - Film
Grain Settings - Animated film grain noise.
- FogSettings
- Exponential height fog, applied to the opaque geometry and to the sky, before the transparent objects.
- Post
Process Settings - Settings of the post-processing stack. Insert it in the main world to configure the effects.
- Post
Process Textures - Single-sampled textures of the post-processing stack, resized with the window.
- Render
Pass Anti Aliasing - Anti-aliasing pass, rendering to the anti-aliased texture of the
PostProcessTextures. - Render
Pass Bloom - Bloom: downsamples the [
RenderTexture] through the bloom mips (thresholding the first one), then upsamples them back to the first mip, which is added to the image in the composite pass. - Render
Pass Composite - Composite pass, rendering to the LDR texture of the
PostProcessTextures. - Render
Pass Exposure - Eye adaptation: bins the luminance of the [
RenderTexture] into a histogram, then moves the adapted exposure towards the one bringing its average (within the metering percentiles) to middle grey. - Render
Pass Fog - Fog render pass: blends the fog over the opaque geometry and the sky of the [
RenderTexture]. - Render
Pass Post Process - Final post-processing pass, rendering to the swapchain.
- Render
Pass Smaa - First two passes of the SMAA, from the LDR texture of the
PostProcessTextures: the edge detection, then the blending weights of each pixel. The neighborhood blending is done byRenderPassAntiAliasing. - Render
Pass Taa - Temporal anti-aliasing of the HDR [
RenderTexture], before the bloom. - Sharpening
Settings - AMD FidelityFX contrast adaptive sharpening, applied after the anti-aliasing to restore the details it blurred. It sharpens the low-contrast areas more than the edges, which limits the halos.
- Smaa
Textures - Intermediate textures of the SMAA, resized with the window.
- TaaSettings
- Settings of the
AntiAliasing::Taa. - TaaTextures
- Textures of the TAA, resized with the window. They are in the [
RenderTexture::FORMAT]. - Vignette
Settings - Darkening of the image borders.
Enums§
- Anti
Aliasing - Anti-aliasing of the final image.
- Smaa
Preset - Quality of the SMAA: the edge threshold, and the length of the edges searched.
- Tonemapping
- Operator mapping the HDR colors to the display range.
Constants§
- BLOOM_
MIP_ COUNT - Number of bloom mips, each one half the size of the previous one (the first is half the screen size).