updated for Windows
DMaps not working with own shaders