working on cache mechanism.

Fixed normal map issue.