You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
271 B
19 lines
271 B
4 months ago
|
#version 450
|
||
|
|
||
|
layout(location=0) out vec4 color;
|
||
|
|
||
|
layout (push_constant) uniform PushConstantBlock
|
||
|
{
|
||
|
vec4 color;
|
||
|
vec4 color2;
|
||
|
float scale;
|
||
|
} uPC;
|
||
|
|
||
|
vec4 getColor2();
|
||
|
float getScale();
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
color = uPC.color + getColor2() * getScale();
|
||
|
}
|