Fix dust rendering

This commit is contained in:
2025-10-29 11:37:57 +00:00
parent 5f0ab2223d
commit e8d2407367
4 changed files with 16 additions and 26 deletions
+4 -4
View File
@@ -1,18 +1,18 @@
#version 450 core
layout (location = 0) in vec4 posID;
layout (location = 1) in vec4 col;
layout (location = 2) in vec4 centerSize;
layout (location = 3) in vec4 controls;
//layout (location = 2) in vec4 centerSize;
layout (location = 2) in vec4 controls;
layout (std140, binding = 0) uniform TheMat { mat4 theMat; } ;
out vec4 vPosID;
out vec4 vCol;
out vec4 vCenterSize;
//out vec4 vCenterSize;
out vec4 vControls;
void main()
{
gl_Position = theMat * vec4(posID.xyz,1);
vPosID = posID;
vCol = col;
vCenterSize = centerSize;
//vCenterSize = centerSize;
vControls = controls;
}