fixed up shader code.
added dds texture loader
Create texture from memory rather than dds