Skip to content

Commit

Permalink
change maximum octaves/fbm iterations
Browse files Browse the repository at this point in the history
  • Loading branch information
andystanton committed Jun 14, 2024
1 parent 58985ad commit ceea420
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public class FractalNoiseMetalNoise3: FractalNoiseMetalNoiseShader {
float3 noiseCoord = inCoord;
float fractalNoise = 0;
FNOISE_REPEAT(16, FBM_NOISE3_BASE)
FNOISE_REPEAT(8, FBM_NOISE3_BASE)
return min(max(fractalNoise, -1.f), 1.f);
}
Expand All @@ -87,7 +87,7 @@ public class FractalNoiseMetalNoise3: FractalNoiseMetalNoiseShader {
float3 noiseCoord = inCoord * uniforms.coordinateScale;
float fractalNoise = 0;
FNOISE_REPEAT(16, FBM_NOISE3_WARP)
FNOISE_REPEAT(6, FBM_NOISE3_WARP)
return fractalNoise;
}
Expand Down

0 comments on commit ceea420

Please sign in to comment.