A shader question in another game development forum seems to imply that the ReverseSubtract blendop would do the job perfectly. Unfortunately, this produces a shader compiling error saying it doesn't know what ReverseSubtract is...