Forum: Poser - OFFICIAL


Subject: How to shade backside of cloth differently in Firefly?

odf opened this issue on Dec 09, 2022 ยท 33 posts


odf posted Fri, 09 December 2022 at 5:01 PM

Thanks for all the replies! Much appreciated.

Afrodite-Ohki posted at 4:29 PM Fri, 9 December 2022 - #4451332

bagginsbill posted at 11:54 AM Fri, 9 December 2022 - #4451304

Haha - that IS from ages ago and I didn't know as much then. That shader is distinguishing not front and back, but whether the polygon is facing +Z or -Z axis. That's not the same as what you want.  I can't remember if I found a FireFly solution.

I thought it was separating the normals forward and normals backward?
Yes, that's what it does, but it's not forward or backward relative to the camera, but in global coordinates. If the camera is at an angle, or the object is too close to it, it won't work correctly.

That setup was the first thing I tried, by the way, only with the sign function instead of step.

If I had a node or combination of nodes that gave me the viewing direction as a vector, then I could wire something up in combination with the N node.

-- I'm not mad at you, just Westphalian.