Loading and rendering a texture