The only thing I know to select convex or concave is to use "poligin selection constraint on face" I know its not a shader but you might be able to wright a little script to get it to work............dave