Well, I saw a few threads there about scaling Texture2D both here and on the Unity forums. This search line has now led me to scale Texture2Ds with this class: http://wiki.unity3d.com/index.php/TextureScale
Now what I'm working on now applies decals directly to the target texture. This works great. BUT, depending on the size of the texture and how much it scales in geometry, the sticker appears in different sizes (without any scaling, see the attached image). It made me even look at the scaling of Texture2D.
The secret is that I’m not sure what kind of math you need to throw on the scale function to make the sticker the same size visually, no matter what grid and texture it is on.

Any help is much appreciated:]
gord0 source
share