Skip to content

Commit

Permalink
Update erosion.vti: Fix: regenerating initial pattern would overwrite…
Browse files Browse the repository at this point in the history
… perlin noise
  • Loading branch information
timhutton authored Feb 11, 2024
1 parent 965e47f commit 9b2f681
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Patterns/Reusser2024/erosion.vti
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
delta_a = f * laplacian_a - g * pow(sqrt(gradient_mag_squared_a), e) * (1.0f + h * (b - 1.0f));
</formula>
</rule>
<initial_pattern_generator apply_when_loading="false" zero_first="false">
<initial_pattern_generator apply_when_loading="true" zero_first="false">
<overlay chemical="a">
<overwrite/>
<constant value="0.2"/>
Expand Down Expand Up @@ -61,11 +61,6 @@
</sine>
<everywhere/>
</overlay>
<overlay chemical="b">
<overwrite/>
<white_noise low="0" high="1"/>
<everywhere/>
</overlay>
</initial_pattern_generator>
<render_settings>
<surface_color r="1" g="1" b="1"/>
Expand Down

0 comments on commit 9b2f681

Please sign in to comment.