Saturday, March 21, 2015

Unity - Tiling of a material, independen of its size


I am using Textures and Materials to tile my sprites, for instance when building a wall in my game.


The problem with this is that everytime I resize the plane or size of my game object I have to retouch the tiling property of the material.


enter image description here


I have asked around about how to solve this, and they told me to write me own shader, but after reading around a little, that seems quite a deep and long topic, to solve this small issue.



Would anyone know a way to solve this issue, or at least recommend me a shader that already does that ? (and if possible a small explanation on how to use it).




No comments:

Post a Comment

Simple past, Present perfect Past perfect

Can you tell me which form of the following sentences is the correct one please? Imagine two friends discussing the gym... I was in a good s...