bagginsbill opened this issue on Apr 23, 2008 ยท 2832 posts
bagginsbill posted Tue, 10 February 2009 at 7:24 AM
No I didn't describe how I'm doing it. Here's how. It's a hack. It's not really SSS.
I'm adding in some extra diffuse reflection in areas where the standard calculation of diffuse reflection is low. The color is adjustable but it's mostly red.
It is based on the premise that you're probably going to be illuminating your figure pretty well. I have to assume that, since using nodes it is not possible to figure out the angle between the shaded surface and a light. Worse, this should be done for each light individually.
Precisely how much is important, and I spent a lot of time carefully crafting the mathematical curve for it. I constructed the curve empirically, rather than based on physics, because I don't have any of the data in a shader necessary to implement a physically accurate model anyway.
If I ever get the ability to code new shader nodes, with direct access to more information in the lighting model and the geometry, I can build real SSS.
Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)