- Home /
Texture Tiling Stopped Working in Unity 4?
In Unity 3.x, when I adjusted the "Tiling" value (X and Y) of a material's texture, it would then repeat the texture in that dimension that number of times; eg. when you set the "x" to 5 for a diffuse with a smiley face texture, it would squeeze 5 smiley faces width-wise along the surface of your model:
[ ^_^ ^_^ ^_^ ^_^ ^_^ ]
Since upgrading to 4.x, it now no longer repeats the texture in the given dimension, but instead only displays it once, at the beginning, as wide as it would be if it were tiled that many times:
[ ^_^ ]
This happens with the standard Diffuse shader and custom texture-based shaders alike.
Know what's happening, or how to set it back?
I am able to change the x and y tiling of materials on my objects to achieve what you are currently trying to do while using 4.3.4. $$anonymous$$ake sure that you don't have the texturewrapmode set to clamp and that repeat is true. I am not entirely sure if that is the problem, but it is the most probable cause.
Answer by blitzen · Feb 20, 2014 at 04:45 PM
Ed unity is on it: the Texture Type of the texture asset was set to GUI (perhaps a new default in Unity 4), so after changing it to "Texture" and the Wrap Mode to Repeat, all is well in Importville.
Answer by Methelamb · Apr 01, 2014 at 04:27 PM
Also with the new Unity if your texture were not POT they will be treated with Clamp even if you select Wrap Mode to Repeat.
Your answer
Follow this Question
Related Questions
Texture is Tied to Two Cubes 1 Answer
Real Sized Texture Tiling 2 Answers
Multiple random tiled textures in one material 1 Answer
Tiling material with multiple textures. 1 Answer
Image loaded with LoadImageIntoTexture gets inverted 0 Answers