Planetside Software Forums

Support => Terragen Support => Topic started by: WAS on August 17, 2021, 10:50:11 pm

Title: 3D Shape Shader?
Post by: WAS on August 17, 2021, 10:50:11 pm
I feel this would be beneficial for a lot of uses without needing to rotate a Simple Shape Shader, as the 3D shape would intersect the area. I'd imagine for a sphere you'd never need to rotate, and if it used cubes, only in rare occasions.
Title: Re: 3D Shape Shader?
Post by: Dune on August 18, 2021, 01:41:59 am
I would think something like it could be made from blue nodes, take a certain central point, and add some values, plus a smooth step.... have to think about it. I guess Jon could spit it out in a second.
Title: Re: 3D Shape Shader?
Post by: WAS on August 18, 2021, 01:04:26 pm
I do have a soft circle I shared in gradient topic in function section I accidentally discovered, and used for the northern horizon sun I believe. Just not sure what sort of softness its edging would be. Its super soft down to a point.
Title: Re: 3D Shape Shader?
Post by: WAS on August 18, 2021, 01:05:11 pm
Here it is: https://planetside.co.uk/forums/index.php/topic,28256.msg280608.html#msg280608

It's not sure if it's 3D though being from X.
Title: Re: 3D Shape Shader?
Post by: Dune on August 19, 2021, 02:46:09 am
My solution was quite different, but works. This also works, though I had to make some adjustments. See attached.
Title: Re: 3D Shape Shader?
Post by: Dune on August 20, 2021, 02:18:42 am
of course a distance shader with a camera at a certain location would also work.
Title: Re: 3D Shape Shader?
Post by: WAS on August 20, 2021, 02:50:22 am
Quote from: Dune on August 20, 2021, 02:18:42 amof course a distance shader with a camera at a certain location would also work.

Oh yeah, huh!

Well a function is nice regardless.