custom_material.wgsl
Bindings
texture
#@group(1)
@binding(0)
var
texture:
texture_2d<f32>
texture_sampler
#Functions
fragment
#
@fragment
Calculates the final color of each pixel on the screen