# Objective - The line shader missed the wgpu 0.13 update (#5168) and does not work in it's current state ## Solution - update the shader
		
			
				
	
	
		
			14 lines
		
	
	
		
			231 B
		
	
	
	
		
			WebGPU Shading Language
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			231 B
		
	
	
	
		
			WebGPU Shading Language
		
	
	
	
	
	
struct LineMaterial {
 | 
						|
    color: vec4<f32>,
 | 
						|
};
 | 
						|
 | 
						|
@group(1) @binding(0)
 | 
						|
var<uniform> material: LineMaterial;
 | 
						|
 | 
						|
@fragment
 | 
						|
fn fragment(
 | 
						|
    #import bevy_pbr::mesh_vertex_output
 | 
						|
) -> @location(0) vec4<f32> {
 | 
						|
    return material.color;
 | 
						|
}
 |