Struct BloomEffectConfiguration
The bloom effect downsamples the source, ignoring colour data below a brightness cut off The downsampled image is then blurred The final result is the source image plus a blend of the downsampled image back on top
Namespace: Yak2D
Assembly: Yak2D.Api.dll
Syntax
public struct BloomEffectConfiguration
Properties
AdditiveMixAmount
The multiplication factor that the bloom sample is added back to the source image at
Declaration
public float AdditiveMixAmount { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
BrightnessThreshold
The pixel intensity cut off amount (0 to 1)
Declaration
public float BrightnessThreshold { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
NumberOfBlurSamples
Number of blur samples (MAX 8, will be capped)
Declaration
public int NumberOfBlurSamples { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
ReSamplerType
Pixel sampling method (nearest neighbour, 2x2, 4x4)
Declaration
public ResizeSamplerType ReSamplerType { get; set; }
Property Value
| Type | Description |
|---|---|
| ResizeSamplerType |