Hello, I have been trying to scale and wrap (tile) a specific tile in a texture atlas.
Let’s suppose my texture atlas looks like this
When I scale the first tile up or down, it should look something like this
Which it does. I’ve been using the built-in MF named WrapFloat2 to get the job done on the first tile. But the problem with that function is that it wraps between 0 and the given end value to wrap at. So, the first tile, which starts at the UV Coord 0 tiles perfectly and scales. But when I move to tile 2 or tile 3, the wrap starts from the beginning since it is wrapping from the start. It then starts to look like this
My current Material setup looks like this
I have gotten both parts of the material that I want in the same material working separately.
I have successfully been able to make a material with a texture atlas and have been able to pick the correct texture atlas and I have made a material that scales, tiles, and wraps perfectly but I haven’t been successful in making a material that both picks the correct atlas tile and scales it.
PLEASE HELP!!
And thanks in advance.







