- Home /
How can I tile textures from atlas?
Here is a small example. I create a 5x1x5 sized floor from a cube, and try to tile the textures. I want to have this stone brick texture 5x5 tiled on the top, and 5x1 tiled on the sides.
I first tried this with texture of stone bricks only and I can create it in blender by scaling the UV maps, but this way I would need a new material for each texture.
I could also add more faces and map each with the texture I want from the atlas, but this might be too much work and more triangles if I would build a large building.
Is it possible to tile the textures the way I described? If not, what is the most optimal way of achieving something like this? I'm trying to build a house that looks something like Minecraft buildings but it can be one object, no building or digging needed. I try to keep the draw calls and triangles as low as possible. I'm using Unity5 and Blender and I'm quite new with them.
Read up on uv mapping. If you don't need to change a model's texture at runtime, you can just do it in Blender. Basically, scaling the uv map is right, but you obviously need to scale it down so it repeats five times for the top surface.
TRy changing x,y,and offset values in material.
Answer by RLin · Jul 29, 2015 at 03:59 PM
To tile an atlas, you either need to write a shader that does that, or cut your geometry into chunks, each the size of the tiled area, and make each chunk have its UV's set accordingly. The second strategy will result in much higher poly counts, so I personally would not use it.
is there any documentation about the shader? or any references?
Your answer
Follow this Question
Related Questions
Setup in Blender to allow different texture tiling on different faces 3 Answers
Texturing Help 2 Answers
UV mapped model with material tiling? 0 Answers
Blender import missing faces please help!! 6 Answers
Instantiate an imported blender mesh 2 Answers