changed texture wrap mode
added wrap mode for texture2d as well