rendering a texture