Approximation of sub surface scattering in OpenGL with local thickness approximated either by depth maps or offline inverted ambient occlusion.
To compile on mac run:
gcc projekt.c common/*.c common/MicroGlut2.m -framework OpenGL -framework Cocoa -o runproject -Icommon/
to run:
./runproject