adding normal and depth maps for directx and opengl