Planetside Software Forums

Support => Terragen Support => Topic started by: WAS on March 01, 2022, 01:54:30 PM

Title: Distribution Shader - Intersections
Post by: WAS on March 01, 2022, 01:54:30 PM
Couldn't the distribution shader also mask by intersections where it can? If it can do terrain normal and final normal slopes I figure it could also mask intersections. Would be really helpful for the default terrain heightmap snow approach. It relies on the computed terrain for it's slopes, but is missing that beauty of favouring crevices.
Title: Re: Distribution Shader - Intersections
Post by: Dune on March 02, 2022, 01:28:34 AM
Why not use a surface shader as distribution shader?
Title: Re: Distribution Shader - Intersections
Post by: WAS on March 02, 2022, 02:11:56 AM
Quote from: Dune on March 02, 2022, 01:28:34 AMWhy not use a surface shader as distribution shader?

Because that would clearly require extra thought. Lol Good idea. That should work I believe.

Thank you, I'll give that a go in the morning.
Title: Re: Distribution Shader - Intersections
Post by: WAS on March 02, 2022, 02:33:22 PM
Yep great idea, and it actually works better just doing the "snow shader" all in one in the shader tree in a surface layer. Pipe the heightfield into the main input of a default for snow shading, and then the default into child of a surface layer.