# Objective assets v2 broke custom shader imports. fix them ## Solution store handles of any file dependencies in the `Shader` to avoid them being immediately dropped. also added a use into the `shader_material` example so that it'll be harder to break support in future.
		
			
				
	
	
		
			3 lines
		
	
	
		
			117 B
		
	
	
	
		
			WebGPU Shading Language
		
	
	
	
	
	
			
		
		
	
	
			3 lines
		
	
	
		
			117 B
		
	
	
	
		
			WebGPU Shading Language
		
	
	
	
	
	
// this is made available to the importing module
 | 
						|
const COLOR_MULTIPLIER: vec4<f32> = vec4<f32>(1.0, 1.0, 1.0, 0.5);
 |