You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
martian-chess/notes/camera-effects.txt

73 lines
3.0 KiB
Plaintext

Bevy Anti Aliasing and Screen Effects
TAA: Temporal Anti Aliasing (https://docs.rs/bevy/0.13.2/bevy/core_pipeline/experimental/taa/struct.TemporalAntiAliasSettings.html)
* Component added to camera
* Conflicts with MSAA and FXAA
* Can be "reset" with a bool, but otherwise no settings
* Requires TemporalAntiAliasingPlugin to App.
* Requires the following marker components on Camera:
* DepthPrepass
* MotionVectorPrepass
* TemporalJitter
* Cannot be used with Orthographic camera
MSAA: Multi-Sample Anti-Aliasing (https://docs.rs/bevy/0.13.2/bevy/prelude/enum.Msaa.html)
* Resource set to the number of samples to run for anti-aliasing or "Off"
* Conflicts with FXAA and TAA
* If set to a sample count, conflicts with Msaa and Fxaa
FXAA: Fast Approximate Anti-Aliasing (https://docs.rs/bevy/0.13.2/bevy/core_pipeline/fxaa/struct.Fxaa.html)
* Compnent added to Camera
* Conflicts with MSAA and TAA
* Has the following parameters:
* Enabled
* Edge Threshold and Edge Threshold Min.
* Sensitivity settings ranging from Low to Extreme.
CAS: Contrast Adaptive Sharpening (https://docs.rs/bevy/0.13.2/bevy/core_pipeline/contrast_adaptive_sharpening/struct.ContrastAdaptiveSharpeningSettings.html)
* Component put on camera to enable adaptive sharpening
* Used in combination w/ FXAA or TAA
* Has the following parameters:
* Enabled (bool)
* Sharpening Strength (float 0..1 | default 0.6)
* Denoise (bool)
HDR: High Dynamic Range (https://docs.rs/bevy/0.13.2/bevy/prelude/struct.Camera.html#structfield.hdr)
* Boolean on Camera component
Bloom (https://docs.rs/bevy/0.13.2/bevy/core_pipeline/bloom/struct.BloomSettings.html)
* Component added to camera to configure bloom effects
* Requires HDR to be enabled
* settings:
* Intensity
* Composite Mode: Additive or EnergyConserving
* low_frequency_boost[_curvature]: Likelyhood light will scatter completely sideways
* high_pass_frequency: 0..1 -> scatter angle 0..90
* Bloom Prefilter:
* Threshold: rgb values under this will not contribute to bloom
* How much to blend between threshold and non-threshold values
* 0..1 -> abrupt..fully soft
* range 0..1, default 0.0
Tonemapping (https://docs.rs/bevy/0.13.2/bevy/core_pipeline/tonemapping/enum.Tonemapping.html)
* Component added to camera to configure color tonemapping
* Enum of options with no further configuration
Color Grading (https://docs.rs/bevy/0.13.2/bevy/render/view/struct.ColorGrading.html)
* Component added to camera to control color grading
* Settings:
* Exposure offset measured in stops
* Gamma applied before tonemapping
* pre/post saturation: range 0..1, saturation before/after tonemapping
Fog (https://docs.rs/bevy/0.13.2/bevy/pbr/struct.FogSettings.html)
* Component added to camera
* Settings:
* Color of the Fog
* Directional light of the fog
* Directional light exponent
* Fog Falloff
* Linear, Exponential, ExponentialSquared, Atmospheric
SSAO: Screen Space Ambient Occlusion (https://docs.rs/bevy/0.13.2/bevy/pbr/struct.ScreenSpaceAmbientOcclusionBundle.html)
* Components put on camera to configure SSAO