Constants
Bindings
@group(0)
@binding(0)
var<uniform>
view:
View
Structures
struct
BoxShadowVertexOutput
{
}
Functions
@vertex
Processes each 3D point in a model before it's drawn
@fragment
Calculates the final color of each pixel on the screen
Approximates the Gauss error function: https://en.wikipedia.org/wiki/Error_function