is possible to tile within a texture atlas?
In other words If I have a small brick texture inside a larger texture atlas. Is there a way to only tile the brick part across the mesh.
asked Feb 07, 2012 at 03:06 PM
I have found that it is indeed possible to tile textures in a texture atlas by modifying the shader.
In your pixel output function where the text2D() sampler function is called change your IN.uv_MainTex (or what ever your main texture uv variable is called) to:
so the entire line will look like this
you will have to set offset as a variable that is present in the editor by declaring it in the properties section of your HLSL code
answered Feb 07, 2012 at 06:14 PM