Constants
Bindings
@group(0)
@binding(1)
var<uniform>
globals:
Globals
Structures
Functions
@fragment
Calculates the final color of each pixel on the screen
@fragment
Calculates the final color of each pixel on the screen
Our render pass has two color targets, matching the deferred prepass: location 0: the packed gbuffer (Rgba32Uint) location 1: the deferred lighting pass id (R8Uint)