Hi guys, how's it going?
I'm working on a tri-planar mapping shader that uses Object space position to sample a texture.
The only problem is that when I make the objects larger, the texture tiles, and doesn't stretch with the geo.
I could connect the scale value as input slider, and divide the UVs by that value, but that won't really be ideal since I don't always know the value of the scale.
Is there any way to have the texture scale with the object automatically?
Thanks in advance