getting 3D debug textures working