From f31a67bb2b0e2af2297f69748fc70a2bfefcbb89 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 11 Feb 2022 19:45:19 -0500 Subject: [PATCH] gpu: apply hsl override to flat shade faces The behavior of this was changed in 203 to include flat shade faces --- .../net/runelite/client/plugins/gpu/SceneUploader.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/gpu/SceneUploader.java b/runelite-client/src/main/java/net/runelite/client/plugins/gpu/SceneUploader.java index 82f8676ce5..dd2e015eb1 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/gpu/SceneUploader.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/gpu/SceneUploader.java @@ -434,8 +434,9 @@ class SceneUploader len += 3; continue; } - // HSL override is not applied to flat shade faces or to textured faces - else if (faceTextures == null || faceTextures[face] == -1) + + // HSL override is not applied to textured faces + if (faceTextures == null || faceTextures[face] == -1) { if (overrideAmount > 0) { @@ -525,8 +526,9 @@ class SceneUploader } return 3; } - // HSL override is not applied to flat shade faces or to textured faces - else if (faceTextures == null || faceTextures[face] == -1) + + // HSL override is not applied to textured faces + if (faceTextures == null || faceTextures[face] == -1) { if (overrideAmount > 0) {