started working on texturing with slobe based thresholding