Fixed part raytracing issue with FMP
Added custom occlusion testing and some tweaks to the rendering system