fixed shd in texture lib