instanced.wgsl
Bindings
Structures
struct
Vertex
{
}
struct
VertexOutput
{
}
Functions
@vertex
Processes each 3D point in a model before it's drawn
Shader defs requirments:
🟢 VISIBILITY_RANGE_DITHER
@fragment
Calculates the final color of each pixel on the screen
taken/adapted from https://github.com/bevyengine/bevy/blob/main/crates/bevy_pbr/src/render/mesh_functions.wgsl