In my shader demo i have separate wdl for camera control.

http://files.intelligentdevelopment.sk/AGFX_shaders.zip