Speed increase and better edge visibility for edge shader