Package 

Class View.BloomOptions


  • 
    public class View.BloomOptions
    
                        

    Options to control the bloom effectenabled: Enable or disable the bloom post-processing effect. Disabled by default.levels: Number of successive blurs to achieve the blur effect, the minimum is 3 and themaximum is 12. This value together with resolution influences the spread of theblur effect. This value can be silently reduced to accommodate the originalimage size.resolution: Resolution of bloom's minor axis. The minimum value is 2^levels and thethe maximum is lower of the original resolution and 4096. This parameter issilently clamped to the minimum and maximum.It is highly recommended that this value be smaller than the target resolutionafter dynamic resolution is applied (horizontally and vertically).strength: how much of the bloom is added to the original image. Between 0 and 1.blendMode: Whether the bloom effect is purely additive (false) or mixed with the originalimage (true).anamorphism: Bloom's aspect ratio (x/y), for artistic purposes.threshold: When enabled, a threshold at 1.0 is applied on the source image, this isuseful for artistic reasons and is usually needed when a dirt texture is used.dirt: A dirt/scratch/smudges texture (that can be RGB), which gets added to thebloom effect. Smudges are visible where bloom occurs. Threshold must beenabled for the dirt effect to work properly.dirtStrength: Strength of the dirt texture.