* Add ShaderLoader, rebuild pipelines for modified shader assets * New example * Add shader_update_system, ShaderError, remove specialization assets * Don't panic on shader compilation failure
		
			
				
	
	
		
			12 lines
		
	
	
		
			175 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			175 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
#version 450
 | 
						|
 | 
						|
layout(location = 0) out vec4 o_Target;
 | 
						|
 | 
						|
layout(set = 2, binding = 0) uniform MyMaterial_color {
 | 
						|
    vec4 color;
 | 
						|
};
 | 
						|
 | 
						|
void main() {
 | 
						|
    o_Target = color * 0.5;
 | 
						|
}
 |