Planetside Software Forums

General => Terragen Discussion => Topic started by: jackblack on November 22, 2018, 02:34:41 AM

Title: Rotating a SSS on X or Z?
Post by: jackblack on November 22, 2018, 02:34:41 AM
Is there a way to rotate a SSS on the X or Z axis? I've tried using the translate shader, but I cannot reckon how I could do it any other way.
Title: Re: Rotating a SSS on X or Z?
Post by: WAS on November 22, 2018, 03:32:05 PM
There is a rotation input in the SSS.
Title: Re: Rotating a SSS on X or Z?
Post by: Oshyan on November 22, 2018, 04:02:26 PM
WAS, the built-in rotation is only around the Y axis.

I don't think there is a simple way to rotate the SSS on other axes, unfortunately. You can use a Redirect Shader to direct its displacement along other axes, but this doesn't work for color data as far as I saw. Other node wizards (or Matt) may have a better idea though.

- Oshyan
Title: Re: Rotating a SSS on X or Z?
Post by: WAS on November 22, 2018, 04:07:54 PM
Oh right, X and Z.

Yes. Just use the transform input shader, but it will not act exact.

This is how I did verticle SSS shapes for flames (2D Fire Project). I setup the whole shape of the campfire, base, tall wisps, etc, and rotated it on vertical.