14 lines
240 B
GLSL
Executable file
14 lines
240 B
GLSL
Executable file
#version 460 core
|
|
|
|
layout(location = 0) in vec2 inUV;
|
|
|
|
layout(location = 0) out vec4 outColor;
|
|
|
|
layout(push_constant) uniform PushConstants {
|
|
vec3 color;
|
|
} pushConstants;
|
|
|
|
void main() {
|
|
outColor = vec4(pushConstants.color, 1.0);
|
|
}
|
|
|