mirror of
https://github.com/JannisX11/blockbench.git
synced 2025-04-06 17:31:09 +08:00
Fix height map blurry when converted to different pbr channel
This commit is contained in:
parent
bb80e4f928
commit
72c3725a10
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user