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.

23 lines
232 B

#version 450
layout (push_constant) uniform PCBlock
{
mat4 uWorld;
mat4 uProj;
vec4 color1;
vec4 color2;
} b;
layout(location = 0) in vec4 P;
vec4 getColor2()
{
return b.color2;
}
vec4 getWorld()
{
return b.uWorld * P;
}