Add a config option to restore the calculate all normals behavior in case some setups require old broken behavior. (#9670)

This commit is contained in:
Kovak authored and GitHub committed 2023-07-19 14:46:05 -07:00
1 parent 7c84249996
commit 93a615e900
3 files changed
+15 -1

No files matched your search

@@ -512,7 +512,7 @@ public class ForgeHooksClient
public static void fillNormal(int[] faceData, Direction facing, boolean calculateNormals)
{
Vector3f v2;
if (calculateNormals) {
if (calculateNormals || ForgeConfig.CLIENT.calculateAllNormals.get()) {
Vector3f v1 = getVertexPos(faceData, 3);
Vector3f t1 = getVertexPos(faceData, 1);
v2 = getVertexPos(faceData, 2);