|
Nebula
|
Bloom post effect.
SSR post effect.
SSAO post effect.
Histogram calculates a HDR luminance histogram over the entire image to account for light intensity and color saturation.
Handles callbacks for downscaling passes.
Full-resolution circle of confusion, half-resolution bokeh gather, before tonemap.
DofMask runs on the compute queue and writes the context-owned BokehMask from Aperture. DofSetup, DofGather, and DofComposite run on the graphics queue. DofComposite writes the mix into LightBuffer. Color Downsample and bloom run on that. finalize.gpul adds bloom.
(C) 2021 Individual contributors, see AUTHORS file
Classes | |
| struct | [struct].bloomState |
| struct | [struct].dofState |
| struct | [struct].histogramState |
| struct | [struct].ssaoState |
| struct | [struct].ssrState |
| struct | [struct].state |
| class | BloomContext |
| class | DofContext |
| class | DownsamplingContext |
| class | HistogramContext |
| class | SSAOContext |
| class | SSRContext |
| struct | ViewData |
Variables | |
| struct | bloomState |
| struct | dofState |
| struct | state |
| struct | histogramState |
| struct | ssaoState |
| struct | ssrState |
| PostEffects::__ImplementPluginContext | ( | DownsamplingContext | ) |
| PostEffects::__ImplementPluginContext | ( | PostEffects::BloomContext | ) |
| PostEffects::__ImplementPluginContext | ( | PostEffects::DofContext | ) |
| PostEffects::__ImplementPluginContext | ( | PostEffects::HistogramContext | ) |
| PostEffects::__ImplementPluginContext | ( | PostEffects::SSAOContext | ) |
| PostEffects::__ImplementPluginContext | ( | PostEffects::SSRContext | ) |
|
static |
ColorSource is LightBuffer.
BokehOutput is BokehBuffer.
| void PostEffects::SetupMipChainResources | ( | CoreGraphics::TextureId | tex, |
| Util::FixedArray< CoreGraphics::TextureViewId > & | views, | ||
| CoreGraphics::ResourceTableId | table, | ||
| const Util::String & | name, | ||
| bool | depth, | ||
| IndexT | input, | ||
| IndexT | slot ) |
|
static |
Rebind the table for this buffered frame if a resize or a new dirt mask marked it.
The GPU has finished the previous frame using this table, so it is safe to rewrite it.
|
static |
Dirt.x is 0 for the white placeholder.
Dirt.yz is the reciprocal of DirtMask mip 0.
|
static |
ColorSize is LightBuffer and HalfColor, the full-resolution circle of confusion.
HalfSize is BokehBuffer, the half-resolution gather.
| struct PostEffects::[struct].bloomState PostEffects::bloomState |
| struct PostEffects::[struct].dofState PostEffects::dofState |
| struct PostEffects::[struct].histogramState PostEffects::histogramState |
| struct PostEffects::[struct].ssaoState PostEffects::ssaoState |
| struct PostEffects::[struct].ssrState PostEffects::ssrState |
| struct PostEffects::[struct].state PostEffects::state |