forestiles/assets/render/wireframe.wgsl
2025-07-20 12:00:43 +02:00

13 lines
245 B
WebGPU Shading Language

#import bevy_pbr::forward_io::VertexOutput
struct PushConstants {
color: vec4<f32>
}
var<push_constant> push_constants: PushConstants;
@fragment
fn fragment(in: VertexOutput) -> @location(0) vec4<f32> {
return push_constants.color;
}