Skip to content

Commit

Permalink
Bring back decals
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheikah45 committed Feb 23, 2021
1 parent 7aedd41 commit b8b9ae1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/java/neroxis/generator/MapGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -1244,10 +1244,10 @@ private void setupHeightmapPipeline() {

private void setupDecalPipeline() {
fieldDecal = new ConcurrentBinaryMask(land, random.nextLong(), "fieldDecal");
slopeDecal = new ConcurrentBinaryMask(slope, .15f, random.nextLong(), "slopeDecal");
slopeDecal = new ConcurrentBinaryMask(slope, .25f, random.nextLong(), "slopeDecal");
mountainDecal = new ConcurrentBinaryMask(mountains, random.nextLong(), "mountainDecal");

fieldDecal.minus(slopeDecal.copy().inflate(16)).minus(mountainDecal).deflate(24);
fieldDecal.minus(slopeDecal.copy().inflate(16)).minus(mountainDecal);
}

private void setupResourcePipeline() {
Expand Down

0 comments on commit b8b9ae1

Please sign in to comment.