mirror of
https://github.com/bevyengine/bevy
synced 2025-02-16 22:18:33 +00:00
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;
|
||
|
}
|