Author Topic: SSS (Simple strata shader)  (Read 661 times)

Offline N-drju

  • Member
  • *
  • Posts: 890
  • Changes, changes, changes...
SSS (Simple strata shader)
« on: September 20, 2017, 10:01:53 AM »
Here's a little something that I made by jurry-rigging and reworking a clip file that Ulco gave me once as a problem solution. It's a simple setup for stratas, based on masks created by the warped simple shape shaders.

The use is simple - first use a fractal terrain and strata settings of your choice. Then, modify simple shape shaders named DISPLACEMENT AREA and STRATA AREA (they should be placed at the same location). Finally, hit the "random seed" in the "SHAPE" power fractal to get a random, warped simple shape shader, masking the whole setup.

Note that keeping the strata area slightly tighter than the displacement area, you can have some of the peak/summit unaffected by the strata, offering a little bit more diversity!

It's not much, but I'd like to help. I hope you'll find it fun to play with. And thanks to Ulco, for paving a way to this small clip file!


« Last Edit: September 20, 2017, 10:04:27 AM by N-drju »
"I don't know what 'pokygon' is but I like it."

Offline luvsmuzik

  • Member
  • *
  • Posts: 1595
Re: SSS (Simple strata shader)
« Reply #1 on: September 20, 2017, 03:20:00 PM »
Very good of you to share this! Thank you! :)

Offline fleetwood

  • Member
  • *
  • Posts: 1232
Re: SSS (Simple strata shader)
« Reply #2 on: September 20, 2017, 05:26:38 PM »
Thanks for the share  :)

Offline bobbystahr

  • Member
  • *
  • Posts: 8207
  • Turn, and face the Strange Ch Ch Changes...D Bowie
Re: SSS (Simple strata shader)
« Reply #3 on: September 20, 2017, 09:58:25 PM »
Cool, thanks for sharing this clip.
something borrowed,
something Blue.
Ring out the Old.
Bring in the New

bobbystahr

Offline N-drju

  • Member
  • *
  • Posts: 890
  • Changes, changes, changes...
Re: SSS (Simple strata shader)
« Reply #4 on: September 21, 2017, 07:09:18 AM »
Thank you! I am glad you like it.

This setup works best with relatively small shapes when DISPLACEMENT AREA/STRATA AREA size is between 1000x1000 and 3500x3500. Beyond that size, the mask will slowly revert to an unwarped form of any SSS that you are using as a mask.

I'll probably post a version that works with larger values too. Meanwhile, consider this - the larger mask (DISPLACEMENT AREA + STRATA AREA) you are planning for, the higher the values in this network should go.

Let's say you are planning for a DISPLACEMENT AREA of 10000x5000. It would be prudent then, to increase the "final multiplier" value in the "vector displacement shader" to around 10000 as well. The SHAPE fractal size should also be increased. This way, the mask will remain nicely warped.

Well, actually the values might be different because I'm speaking out of my mind. But the general principle is accurate.
"I don't know what 'pokygon' is but I like it."

Offline Kadri

  • Member
  • *
  • Posts: 7865
Re: SSS (Simple strata shader)
« Reply #5 on: September 21, 2017, 07:52:54 AM »

Thanks for sharing.

Offline bobbystahr

  • Member
  • *
  • Posts: 8207
  • Turn, and face the Strange Ch Ch Changes...D Bowie
Re: SSS (Simple strata shader)
« Reply #6 on: September 21, 2017, 03:43:35 PM »
Thank you! I am glad you like it.

This setup works best with relatively small shapes when DISPLACEMENT AREA/STRATA AREA size is between 1000x1000 and 3500x3500. Beyond that size, the mask will slowly revert to an unwarped form of any SSS that you are using as a mask.

I'll probably post a version that works with larger values too. Meanwhile, consider this - the larger mask (DISPLACEMENT AREA + STRATA AREA) you are planning for, the higher the values in this network should go.

Let's say you are planning for a DISPLACEMENT AREA of 10000x5000. It would be prudent then, to increase the "final multiplier" value in the "vector displacement shader" to around 10000 as well. The SHAPE fractal size should also be increased. This way, the mask will remain nicely warped.

Well, actually the values might be different because I'm speaking out of my mind. But the general principle is accurate.


Thanks also for these tips.
something borrowed,
something Blue.
Ring out the Old.
Bring in the New

bobbystahr

Offline N-drju

  • Member
  • *
  • Posts: 890
  • Changes, changes, changes...
Re: SSS (Simple strata shader)
« Reply #7 on: September 21, 2017, 05:15:38 PM »
Here's an example of a mask 17000x20000 across along with the values. :) It's always better to show than only tell about it:

76409-0

Of course, it's an example mask for the DISPLACEMENT AREA only. No actual displacement here.
"I don't know what 'pokygon' is but I like it."

Offline bobbystahr

  • Member
  • *
  • Posts: 8207
  • Turn, and face the Strange Ch Ch Changes...D Bowie
Re: SSS (Simple strata shader)
« Reply #8 on: September 21, 2017, 08:07:02 PM »
Here's an example of a mask 17000x20000 across along with the values. :) It's always better to show than only tell about it:

(Attachment Link)

Of course, it's an example mask for the DISPLACEMENT AREA only. No actual displacement here.


I completely agree. As they say, a picture is worth 1000 words.
something borrowed,
something Blue.
Ring out the Old.
Bring in the New

bobbystahr

Offline AndyWelder

  • Member
  • *
  • Posts: 447
  • Niet zeuren, gewoon doen!
Re: SSS (Simple strata shader)
« Reply #9 on: September 23, 2017, 08:12:31 PM »
Thank you for sharing and explaining!
"Ik rotzooi maar wat aan" Karel Appel