Fixed comparison functions. Added transparency pass back in. Optimized deferred rendering pass by reducing stencil buffer clear operations.