Justin E. Palmer

Game Designer, Unity Engineer, AR/VR/XR enthusiast, and
Creative Technologist

Home About Me Resumé Blog

Check out my Itch.io page for playable demos!

Please excuse the mess around here. I'm actively working on and updating everything as I find the time. #MVP

Subsurface Scattering Shader

Here's an old shader I was working on ages ago. I've since lost the code because I'm bad at saving things, but I managed to dig up two captures. The first video shows the shader having been applied to three busts in a scene. As the light slowly revolves around the statues, you can see how light "flows" through each object. The second video shows off a more practical application of the shader; a lamp shade. A light is turned off and on from inside the shade, and makes the shade "glow". The entire effect is faked using custom-baked, grayscale thinkness maps. The lighter parts of the texture map allow more light to glow through, darker areas dim the effect. Huge shout out to Alan Zucconi for his write ups on various shader techniques.