Skip to content

Commit

Permalink
Merge branch '1.18.2' into 1.19.1
Browse files Browse the repository at this point in the history
  • Loading branch information
IMS212 committed Aug 1, 2023
2 parents 42fcd1c + 2a6c4a5 commit 88af652
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,8 @@ private void fillExtendedData(int vertexAmount) {
midV /= vertexAmount;

if (vertexAmount == 3) {
NormalHelper.computeFaceNormalTri(normal, polygon);
// Removed to enable smooth shaded triangles. Mods rendering triangles with bad normals need to recalculate their normals manually or otherwise shading might be inconsistent.
// NormalHelper.computeFaceNormalTri(normal, polygon);
} else {
NormalHelper.computeFaceNormal(normal, polygon);
}
Expand Down

0 comments on commit 88af652

Please sign in to comment.