I'm trying to move part of the math involving UV maps from Shading to GeoNodes. Something unexpected happens when I try to move the Vector Module operation.
The simple Shader I want to replicate is this:
As you can see, I create the UV map in GN and pass it to Shader via Attribute nodes.
The migration of the math nodes to GN works up to the Scale node:
The result is the same, as expected.
The problem arises when the Module nodes get activated.
According to Blender docs, both Modulo nodes should operate the same way, so I could actually expect same results, if the inputs provided are the same, which I couldn't be sure of, even though the results are the same up to the preceding nodes.
How can that be explained?
Is there a different logic in Shading and GN environments about Math nodes?
Does the UV map change in some way when passed via Attribute nodes?
Do I miss something to achieve the correct Modulo node (and possibly other Math nodes) migration (if possible)?