Good work. I had a struggle with HLSL Shaders myself.In fact I'm still trying to get the textures working correctly (they appear corrupted).

Glad you got it working