How to calculate adequate texture repeatU parameter, like curveLenght = renderedRepetitions?
currently they are following this formula:
renderedRepetitions = curveLenght*2 + 1,
so 3 units long curve will have 7 repetitions, instead of 3.
My brain suspects that this is a basic math, unfortunately it is too messy to figure out itself.
Please help and thankyou in advance.
Dr