A Perceptually-Based Texture Caching Algorithm for Hardware-Based Rendering