|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
#include <DynamicGI.hpp>
Public Attributes | |
| f32 | intensity = 1.0f |
| How much of the gathered light is added over the picture. | |
| f32 | blend = 0.15f |
| How much of each frame's card lighting replaces what the card held (the rest is history, which is what smooths the noise). | |
| u32 | cardSlices = 4 |
| The cards are relit a slice at a time over this many frames (their light changes slowly; the cost is in proportion). | |
| u32 | probeStride = 2 |
| One in this many of a probe rays is traced each frame, alternating, so the history fills the rest in. | |
| u32 | skip = 0 |
| For measuring: skip the cards (1), the probes (2) or the apply (4), to read what the rest of the frame costs. | |
| u32 | probeSpacing = 0 |
| Pixels between probes: 0 picks about 160 x 90 probes whatever the picture size. | |
| bool | halfRes = false |
| f32 | probeDensity = 1.0f |
| How many of the rows of probes the picture would have are kept, 0.25 to 1 (it acts where probeSpacing is 0). | |
| u32 | probeRows = 90 |
What the effect is asked for, from the pass's uniforms.
Definition at line 35 of file DynamicGI.hpp.
| f32 esengine::DynamicGIParams::blend = 0.15f |
How much of each frame's card lighting replaces what the card held (the rest is history, which is what smooths the noise).
Definition at line 39 of file DynamicGI.hpp.
Referenced by esengine::DynamicGI::declare().
| u32 esengine::DynamicGIParams::cardSlices = 4 |
The cards are relit a slice at a time over this many frames (their light changes slowly; the cost is in proportion).
Definition at line 41 of file DynamicGI.hpp.
Referenced by esengine::DynamicGI::declare().
| bool esengine::DynamicGIParams::halfRes = false |
The probes are asked by one pixel in four and the rest take the light of the four round them: about half the reads of a pixel, for light that runs a pixel or two across an edge two surfaces share. What a quality level below the highest runs.
Definition at line 50 of file DynamicGI.hpp.
Referenced by esengine::DynamicGI::declare().
| f32 esengine::DynamicGIParams::intensity = 1.0f |
How much of the gathered light is added over the picture.
Definition at line 37 of file DynamicGI.hpp.
Referenced by esengine::DynamicGI::declare().
| f32 esengine::DynamicGIParams::probeDensity = 1.0f |
How many of the rows of probes the picture would have are kept, 0.25 to 1 (it acts where probeSpacing is 0).
Definition at line 52 of file DynamicGI.hpp.
Referenced by esengine::DynamicGI::declare().
| u32 esengine::DynamicGIParams::probeRows = 90 |
Definition at line 53 of file DynamicGI.hpp.
Referenced by esengine::DynamicGI::declare().
| u32 esengine::DynamicGIParams::probeSpacing = 0 |
Pixels between probes: 0 picks about 160 x 90 probes whatever the picture size.
Definition at line 47 of file DynamicGI.hpp.
Referenced by esengine::DynamicGI::declare().
| u32 esengine::DynamicGIParams::probeStride = 2 |
One in this many of a probe rays is traced each frame, alternating, so the history fills the rest in.
Definition at line 43 of file DynamicGI.hpp.
Referenced by esengine::DynamicGI::declare().
| u32 esengine::DynamicGIParams::skip = 0 |
For measuring: skip the cards (1), the probes (2) or the apply (4), to read what the rest of the frame costs.
Definition at line 45 of file DynamicGI.hpp.
Referenced by esengine::DynamicGI::declare().