Very nice shader. I've applied this to models and it looks great.
A question. I am trying to apply this to a mesh to be used as world geometry. I have seen this problem before and I think its a UV mapping issue with the mesh I am using. I can remember how I fixed this problem once before.
Anyone have any suggestions as to what I am doing wrong with the mesh?