Reworked Direct3D-stuff, especially shaders