moved texture from model to view