fixed mipmaps on textures