The object’s texture will always fit the object’s transform scale,but
what I want is : No matter what the object’s scale is,but the texture will never scale by the object.
Is there any shader can do that?
The object’s texture will always fit the object’s transform scale,but
what I want is : No matter what the object’s scale is,but the texture will never scale by the object.
Is there any shader can do that?
Sounds like as the object scales you will want to apply the inverse scale to the texture using the Tiling and Offset members of the Material. See:
http://unity3d.com/support/documentation/ScriptReference/Material-mainTextureScale.html