fixed div 0 problem in shadow bias