fixing for texture3