Getting closer to the correct volume rendering by modifying renderer.js