Diffuse Wrap Shader Explanations by Steve McAuley

I refer to this blog post frequently when teaching or explaining diffuse wrap as a valuable tool for particle lighting - it’s a bit verbose on shader math (unless you’re writing a shader…) but it’s worth looking over and understanding how such a simple and cheap trick can go so far to create the illusion of sub-surface light scatter, especially when you drive it with a “density” texture.


dat math got muh brain spinning!

I love this article, very cool.