I need this option enabled to display some models properly.

Blender 2.7 - Image Mapping


It's possible to calculate mirroring UV coordinates by creating a sawtooth shaped graph.

Desmos Graph

Here is it implemented with nodes for cycles and EEVEE. Since modulus is behaving in a different way below zero, the Fract operation is a better choice, but then we also need to scale the value to the 0 - 1 range.

Implementation with nodes

| improve this answer | |
  • $\begingroup$ surprised to see that it doesn't seem to work below zero - the absolute node removes the negative values. $\endgroup$ – sambler Jun 15 '19 at 6:41
  • 1
    $\begingroup$ Nope, this is why: en.wikipedia.org/wiki/Modulo_operation#Common_pitfalls $\endgroup$ – Jackdaw Jun 15 '19 at 21:35
  • $\begingroup$ @Anthony, please use a proper file service and remove the link to that horrible site. $\endgroup$ – Jackdaw Jul 16 '19 at 22:35
  • $\begingroup$ @Anthony for sharing Blende files please prefer Blend Exchange instead $\endgroup$ – Duarte Farrajota Ramos Jul 16 '19 at 23:51
  • 1
    $\begingroup$ @Anthony, I have updated my answer so that it will work below zero, now there shouldn't be any problems to use it with your model. $\endgroup$ – Jackdaw Jul 17 '19 at 16:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.