gradient.wgsl
Constants
Bindings
Structures
struct
GradientVertexOutput
{
}
Functions
@vertex
Processes each 3D point in a model before it's drawn
@fragment
Calculates the final color of each pixel on the screen
Mix the colors, choosing the appropriate interpolation method for the given color space
Convert a color from the interpolation color space to linear rgba
https://en.wikipedia.org/wiki/SRGB