I was about to ask how to make texture repeatable but i find the solution:
this
vec2 newTexCoord = (texCoord + offset) ;
change to this:
vec2 newTexCoord = (texCoord * scaleValue + offset) ;
putting here if i forget and i couldn't find this on forum.
question: How to make the bump also be repeatable
this
vec2 newTexCoord = (texCoord + offset) ;
change to this:
vec2 newTexCoord = (texCoord * scaleValue + offset) ;
putting here if i forget and i couldn't find this on forum.
question: How to make the bump also be repeatable