Browse Source

Test raw blend

magicbox-1.5.2
MagicBot 1 year ago
parent
commit
3f93bf08fb
  1. 2
      src/engine/InterestManagement/Terrain.java

2
src/engine/InterestManagement/Terrain.java

@ -120,7 +120,7 @@ public class Terrain { @@ -120,7 +120,7 @@ public class Terrain {
// Blend between terrains
return interpolatedChildHeight + interpolatedParentTerrainHeight * (1 - terrainZone.terrain.terrainBlend(terrainOffset));
return (interpolatedChildHeight + interpolatedParentTerrainHeight) * terrainZone.terrain.terrainBlend(terrainOffset);
}

Loading…
Cancel
Save