Cleanup shaders

This commit is contained in:
2025-11-13 17:52:01 +00:00
parent 0ea7af4bdd
commit a7a11ccc03
12 changed files with 142 additions and 205 deletions
+1 -1
View File
@@ -9,5 +9,5 @@ void main()
{
fCol = vCol;
fPos = vPos;
fNorm = vNorm ;
fNorm = vNorm;
}
-13
View File
@@ -12,16 +12,3 @@ void main() {
vNorm = unpackSnorm4x8(data[indices[gl_VertexID]].norm);
gl_Position = theMat * vec4(vPos.xyz,1);
}
//layout (location = 0) in vec4 pos;
//layout (location = 1) in vec4 col;
//layout (location = 2) in vec4 norm;
//layout (std140, binding = 0) uniform TheMat { mat4 theMat; } ;
//out vec4 vCol;
//out vec4 vPos;
//out vec4 vNorm;
//void main() {
// gl_Position = theMat * vec4(pos.xyz,1);
// vCol = col;
// vPos = pos;
// vNorm = norm;
//}