Tiled perlin/value noise texture with (2^n)+1 size

Posted by tobi on Game Development See other posts from Game Development or by tobi
Published on 2013-05-03T17:27:52Z Indexed on 2013/10/23 16:12 UTC
Read the original article Hit count: 224

Filed under:

Actually what I have in mind is value noise I think, but what I am going to ask applies to both of them.

It is known that if you want to produce tiled texture by using the perlin/value noise, the size of the texture should be specified as the power of 2 (2^n). Without any modifications to the algorithm when you use the size of (2^n)+1 the texture cannot be tiled anymore, so I am wondering whether it is possible (by modifying the algorithm somehow) to generate such tiling texture with the size of (2^n)+1. The article (from which I have my implementation) is here: http://devmag.org.za/2009/04/25/perlin-noise/

I am aware that I can produce texture with 2^n size and just copy twice the last column/row from the ends to make it (2^n)+1, but I don't want to, because such repetitions are visible too much.

© Game Development or respective owner

Related posts about perlin-noise