BloomUpFragmentShaderVulkan
Package: Libraries.Game.Graphics.Shaders.Vulkan.Fragment · Inherits from: Libraries.Game.Graphics.Shaders.Shader, Libraries.Language.Object
BloomUpFragmentShaderVulkan makes one step up the bloom chain: the step down of the same size, plus the smaller step above it, blurred up with a 3 by 3 tent filter. The last step up is the bloom the result copy adds to the light. Its push constants (16 bytes): the smaller image's texel size, how far the tent reaches (1 is one texel), and a spare.
Example Code
use Libraries.Game.Graphics.Shaders.Vulkan.Fragment.BloomUpFragmentShaderVulkan
BloomUpFragmentShaderVulkan shader
Variables
text DEFAULT_NAME