mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-18 00:23:14 +00:00
10 lines
206 B
WebGPU Shading Language
10 lines
206 B
WebGPU Shading Language
#import bevy_pbr::forward_io::VertexOutput
|
|
|
|
@group(2) @binding(0)
|
|
var<uniform> material_color: vec4<f32>;
|
|
|
|
@fragment
|
|
fn fragment(mesh: VertexOutput) -> @location(0) vec4<f32> {
|
|
return material_color;
|
|
}
|