Skip to content

Commit

Permalink
fix: blending
Browse files Browse the repository at this point in the history
  • Loading branch information
leaftail1880 committed Oct 30, 2024
1 parent 7fcf2a4 commit 296cc81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/world-edit/utils/blending.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function skipForBlending(
if (radius > toBlend) {
if (doNotBlendStorage.has(vectorId)) return true

const blendingFactor = 1 + factor * 0.01
const blendingFactor = 1 + (100 - factor) * 0.01
if (Math.randomInt(toBlend, radius) < distance * blendingFactor) return true
}
}
Expand Down

0 comments on commit 296cc81

Please sign in to comment.