Author Topic: Rotating a SSS on X or Z?  (Read 221 times)

Offline jackblack

  • Member
  • *
  • Posts: 72
Rotating a SSS on X or Z?
« on: November 22, 2018, 06: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.

Offline WASasquatch

  • Member
  • *
  • Posts: 3255
Re: Rotating a SSS on X or Z?
« Reply #1 on: November 22, 2018, 07:32:05 PM »
There is a rotation input in the SSS.

Offline Oshyan

  • Planetside Staff
  • *
  • Posts: 13114
  • Holy snagging ducks!
Re: Rotating a SSS on X or Z?
« Reply #2 on: November 22, 2018, 08: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

Offline WASasquatch

  • Member
  • *
  • Posts: 3255
Re: Rotating a SSS on X or Z?
« Reply #3 on: November 22, 2018, 08: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.
« Last Edit: November 22, 2018, 08:10:47 PM by WASasquatch »

 

anything