caching texture
Generating textures with different resolutions