mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-19 10:43:14 +00:00
Add small inc/decr to chance to prevent line artifacts
This commit is contained in:
parent
aa90274cc2
commit
d3378c638a
@ -434,7 +434,7 @@ public interface EngineParallaxManager extends DataProvider, IObjectPlacer {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(rng.chance(i.getChance()) && rng.chance(getComplex().getObjectChanceStream().get(x<<4, z<<4)))
|
if(rng.chance(i.getChance() + rng.d(-0.005, 0.005)) && rng.chance(getComplex().getObjectChanceStream().get(x<<4, z<<4)))
|
||||||
{
|
{
|
||||||
place(rng, x<<4, z<<4, i);
|
place(rng, x<<4, z<<4, i);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user