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 f5df2ef commit e3d43b4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/modules/world-edit/utils/blending.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ export function skipForBlending(

const blendingFactor = 1 + factor * 0.01
if (Math.randomInt(toBlend, radius) < distance * blendingFactor) return true
} else return dontBlend()
}
}

return dontBlend()
}

0 comments on commit e3d43b4

Please sign in to comment.