Calculation of polygon offset for ray tracing has been changed. Issues with wrong data in FBO depth buffer has been resolved.