generate C3DTexture from Texture2D