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
Inherited Members
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 { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| float |
BrightnessThreshold
The pixel intensity cut off amount (0 to 1)
Declaration
public float BrightnessThreshold { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| float |
NumberOfBlurSamples
Number of blur samples (MAX 8, will be capped)
Declaration
public int NumberOfBlurSamples { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ReSamplerType
Pixel sampling method (nearest neighbour, 2x2, 4x4)
Declaration
public ResizeSamplerType ReSamplerType { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| ResizeSamplerType |