From 72c3725a10ce9a475f2634ee3a505e308f714f37 Mon Sep 17 00:00:00 2001 From: JannisX11 Date: Tue, 25 Mar 2025 00:05:33 +0100 Subject: [PATCH] Fix height map blurry when converted to different pbr channel --- js/texturing/texture_groups.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/texturing/texture_groups.js b/js/texturing/texture_groups.js index 3af1f1c5..70eb6c85 100644 --- a/js/texturing/texture_groups.js +++ b/js/texturing/texture_groups.js @@ -130,7 +130,7 @@ class TextureGroup { // Use DirectX normal maps for RenderDragon. Flips the "handedness" of the normal map. material.normalScale = Project.format.id.includes('bedrock') ? new THREE.Vector2(1, -1) : new THREE.Vector2(1, 1); } else if (height_tex) { - material.bumpMap = height_tex.getOwnMaterial().map; + material.bumpMap = height_tex.getOwnMaterial().map.clone(); material.bumpScale = 0.4; material.normalMap = null; // Bump map scale