10 lines
198 B
WebGPU Shading Language
10 lines
198 B
WebGPU Shading Language
|
#import bevy_pbr::{
|
||
|
mesh_view_bindings::globals,
|
||
|
forward_io::VertexOutput,
|
||
|
}
|
||
|
|
||
|
@fragment
|
||
|
fn fragment(in: VertexOutput) -> @location(0) vec4<f32> {
|
||
|
return vec4<f32>(0.0, 0.4, 0.0, 1.0);
|
||
|
}
|