Material loading and texture management