Finished work on texture caching.

Normal maps should work without issues.