Page MenuHome

Fix wrong default value for Lacunarity in Musgrave texture
ClosedPublic

Authored by Bartosz Moniewski (monio) on Feb 4 2020, 12:25 AM.
Tags
None
Subscribers
None
Tokens
"Love" token, awarded by B_Engstler."Love" token, awarded by Yegor."Love" token, awarded by RC12."Pterodactyl" token, awarded by charlie."Burninate" token, awarded by Pipeliner."Like" token, awarded by vitos1k."Like" token, awarded by TheFlow."Like" token, awarded by MetinSeven."Love" token, awarded by jonathanl.

Details

Summary

Lacunarity parameter determines scaling of subsequent octaves in fractal noises. For example, Noise node have this scaling hardcoded to 2.0. Each octave have twice bigger scale than previous one, resulting in finer details.

By design fractal noises that generate octaves with same seed should never have Lacunarity set to 1.0. Right now we simply stack up identical noises, making this node really hard to use. Legacy textures had Lacunarity set to 2.0 by default.

User experience currently:

  1. Add Musgrave node, keep fBM mode.
  2. Detail input works differently than in Noise node. Set it to 16.
  3. Dimension input have no effect at all. Set it to 16.
  4. Now play with Lacunarity input, it looks like texture is glitching out or have no effect at all (because Dimension input is set to high) ๐Ÿ˜•

User experience after fix:

  1. Add Musgrave node, keep fBM mode.
  2. Detail input works similar to Noise node. Set it to 16.
  3. Dimension input have clearly visible effect. Set it to something between 0.5 and 2.0
  4. Lacunarity input is easier to control now. ๐Ÿ˜Š

Diff Detail

Event Timeline

This revision is now accepted and ready to land.Feb 4 2020, 1:38 PM