RuntimeData/shader/UBO/PushConstant3D.glsl

8 lines
135 B
Plaintext
Raw Permalink Normal View History

2020-04-08 20:51:01 +08:00
layout(push_constant) uniform Consts
{
2020-04-07 19:00:37 +08:00
mat4 local_to_world;
mat3 normal;
2020-04-08 20:51:01 +08:00
vec3 object_position;
vec3 object_size;
2020-04-07 19:00:37 +08:00
} pc;