Trilinear filtering and anisotropic filtering implemented.