outfly/assets/shaders/material_asteroid.wgsl

10 lines
198 B
WebGPU Shading Language
Raw Normal View History

#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);
}