title: (Unity C#) Texture2D scaling mystery
body: <p>Alright, I've seen there's a number of threads about scaling a Texture2D both on here and the Unity forums. That line of searching brought me to now being able to scale Texture2Ds by using this class: <a href="http://wiki.unity3d.com/index.php/TextureScale" rel="nofollow noreferrer">http://wiki.unity3d.com/index.php/TextureScale</a></p>
  
  <p>Now, what I'm currently working on is applying decals directly to the targeted texture. That's working fine. BUT, depending on the texture size and how much it's being scaled over it's geometry, the decal appears at different sizes (without any scaling, see attached image). That's what lead me to even look into scaling a Texture2D.</p>
  
  <p>The mystery is, I'm not sure what kind of math to throw at the scale function to make the decal appear the same size visually no matter which mesh and texture it's on.</p>
  
  <p><img src="https://i.stack.imgur.com/JyUed.png" alt="decal diff size based on mesh"></p>
  
  <p>Any help is much appreciated : ]</p>