Movmenet & duplication!
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
#version 450
|
||||
|
||||
layout(location = 0) in vec3 fragColor;
|
||||
|
||||
layout(location = 0) out vec4 outColor;
|
||||
|
||||
layout(push_constant) uniform Push {
|
||||
vec2 offset;
|
||||
vec3 color;
|
||||
} push;
|
||||
|
||||
void main() {
|
||||
outColor = vec4(fragColor, 1.0);
|
||||
outColor = vec4(push.color, 1.0);
|
||||
}
|
||||
Reference in New Issue
Block a user