Added texture filtering settings and mipmap generation.