mirror of
https://github.com/bevyengine/bevy
synced 2024-11-29 16:10:19 +00:00
2c9b7956d1
* 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
11 lines
175 B
GLSL
11 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;
|
|
}
|