Pack shape normals into a word8

This commit is contained in:
2025-11-11 21:03:02 +00:00
parent 7f6e7d2741
commit ce438b7ecd
9 changed files with 109 additions and 113 deletions
+2 -1
View File
@@ -9,5 +9,6 @@ void main()
{
fCol = vCol;
fPos = vPos;
fNorm = vec4(vNorm.xyz - vPos.xyz,1);
//fNorm = vec4(vNorm.xyz - vPos.xyz,1);
fNorm = vNorm ;
}