bloom.wgsl

Bindings
@group(0)
@binding(0)
var
input_texture:
texture_2d<f32>
Structures
Functions
Shader defs requirments:
š¢ FIRST_DOWNSAMPLE
luminance coefficients from Rec. 709. https://en.wikipedia.org/wiki/Rec._709
[COD] slide 153
[COD] slide 162
@fragment
Calculates the final color of each pixel on the screen
Shader defs requirments:
š¢ FIRST_DOWNSAMPLE
@fragment
Calculates the final color of each pixel on the screen
@fragment
Calculates the final color of each pixel on the screen
https://catlikecoding.com/unity/tutorials/advanced-rendering/bloom/#3.4