Added additional fog type and triangle hiding.