fixes
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
#version 450
|
||||
|
||||
#extension GL_ARB_separate_shader_objects : enable
|
||||
|
||||
layout(location = 0) in vec3 pos;
|
||||
layout(location = 1) in vec3 normal;
|
||||
layout(location = 5) in vec4 color;
|
||||
|
||||
layout(location = 0) out VS_OUT {
|
||||
@@ -13,21 +14,6 @@ layout(set = 0, binding = 0) uniform NodeData
|
||||
mat4 world;
|
||||
} node;
|
||||
|
||||
layout(set = 1, binding = 0) uniform CameraData
|
||||
{
|
||||
mat4 viewProjection;
|
||||
mat4 view;
|
||||
mat4 projection;
|
||||
vec4 camPos;
|
||||
} cam;
|
||||
|
||||
layout(set = 2, binding = 0) uniform BillboardData
|
||||
{
|
||||
vec2 size;
|
||||
vec2 windowSize;
|
||||
bool isFixedSize;
|
||||
} billboardInfo;
|
||||
|
||||
void main() {
|
||||
// single point
|
||||
gl_Position = node.world * vec4(pos, 1);
|
||||
|
||||
Reference in New Issue
Block a user