mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-26 15:03:04 +00:00
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:
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);
|
||||
|
||||
Reference in new issue
Block a user