Planetside Software Forums

General => File Sharing => Topic started by: N-drju on September 20, 2017, 10:01:53 AM

Title: SSS (Simple strata shader)
Post by: N-drju 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!


[attachimg=1]
Title: Re: SSS (Simple strata shader)
Post by: luvsmuzik on September 20, 2017, 03:20:00 PM
Very good of you to share this! Thank you! :)
Title: Re: SSS (Simple strata shader)
Post by: fleetwood on September 20, 2017, 05:26:38 PM
Thanks for the share  :)
Title: Re: SSS (Simple strata shader)
Post by: bobbystahr on September 20, 2017, 09:58:25 PM
Cool, thanks for sharing this clip.
Title: Re: SSS (Simple strata shader)
Post by: N-drju 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.
Title: Re: SSS (Simple strata shader)
Post by: Kadri on September 21, 2017, 07:52:54 AM

Thanks for sharing.
Title: Re: SSS (Simple strata shader)
Post by: bobbystahr 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.
Title: Re: SSS (Simple strata shader)
Post by: N-drju 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:

[attachimg=1]

Of course, it's an example mask for the DISPLACEMENT AREA only. No actual displacement here.
Title: Re: SSS (Simple strata shader)
Post by: bobbystahr 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.
Title: Re: SSS (Simple strata shader)
Post by: AndyWelder on September 23, 2017, 08:12:31 PM
Thank you for sharing and explaining!