Added boolean variable to allow/avoid the applying of the texture offset