pub fn bloom_mix_fragment(
slab: &[u32],
hdr_texture: &Image2d,
hdr_sampler: &Sampler,
bloom_texture: &Image2d,
bloom_sampler: &Sampler,
in_uv: Vec2,
in_bloom_strength_id: Id<f32>,
frag_color: &mut Vec4,
)
Expand description
Bloom “mix” shader.
This is the final step in applying bloom in which the computed bloom is mixed with the source texture according to a strength factor.