Working Sobel, and Mask auxiliary method on shader.