fix texture params