Hi everyone,
For some time now I’ve been trying to create a good brick material using Corona Mapping Randomizer in Corona, but I constantly run into the same issue.
Whenever I enable the randomization, the brick texture stops aligning correctly - the mortar lines and brick rows become mismatched and I start getting visible artifacts between the randomized areas. The texture itself is seamless and works perfectly fine without the Corona Mapping Randomizer.
I also tried adjusting the Step values exactly as described in the official documentation:
https://documentation.chaos.com/space/CRC4D/124755753/Corona+Mapping+Randomizer+Shader
I experimented with different modular Step values based on the number of brick rows/columns, but unfortunately the issue still remains.
I attached screenshots of:
Could someone please explain the correct workflow for setting up Corona Mapping Randomizer for brick textures like this? I feel like I’m missing something fundamental.
Thanks a lot in advance!
Hi,
Please attache the scene to it can be checked. There maybe something wrong with texture (e.g. not all rows are actually equal in height) or setup.
Hi,
I created a completely new scene with just a simple box and applied the texture there to rule out any scene-related issues. Unfortunately, the exact same problem still occurs.
Because of that, I’m attaching:
-screenshots of the texture itself,
- a screenshot of the Slate Material Editor setup,
- a screenshot of the scene,
- and two screenshots from the viewport showing the issue.
Due to the forum restrictions, I can’t upload all of the screenshots directly here, so I’ve uploaded everything to Google Drive:
https://drive.google.com/drive/folders/1ZBkqNbSif6bWjp_aoXlLycl7Yvycn0D0?usp=sharing
Hopefully this helps identify what might be causing the problem.
Thanks!
Hi,
You need to set a non zero step value in randomizer’s offset. In your case V|Y offset step should be 1/n where n is a number of rows in your brick texture.
Even if the step calculation is perfect, it may be that actual rows of the brick in texture are not perfectly equal (pixels), which means offsetting the texture can still have inaccuracies of matching.
I would suggest using CoronaTileMap if that applies to your case. There are plenty of randomization options there.