two sided shading
rewrite density function, see Screenshot04.png