subsurface scattering example

Hey y’all. Here’s an example showing how to do subsurface scattering in touch.

scatter.2.toe (5.83 KB)
All credits go to InvalidPointer for the original implementation (gamedev.net/community/forums … _id=481494 )
and toneburst for the port to glsl (machinesdontcare.wordpress.com/2 … er-shader/)

I haven’t yet figured out how to use all the parameters, but it already looks beautiful.
In case you play with, please post your files here so we all can get a feeling for the various parameters

1 Like

Very nice. I found it interesting to try negative numbers on the MaterialThickness parameter. It gives an cool looking dark-matter-cloud effect. The attached file has it set to -1, but going even further to values like -7 and you can almost make the edges of the geometry disappear. Of course, the effect changes greatly based on camera position, but it looks cool anyways!

scatter.3.toe (5.88 KB)