- Home /
Question by
MaG3Stican · May 24, 2014 at 09:51 PM ·
c#shadertexturemesh
How to texture an irregular (hexagon) shape (mesh) ?
Hi, I have made an algorithm for creating a 3d world made out of irregular shapes.. but I have a problem when trying to texture those shapes..
I would like the texture to wrap the shapes , is this possible? If yes, how to do it by code?
This is my world currently which looks awful.. :
A sample of the shapes :
capture.jpg
(141.4 kB)
hexagon.jpg
(43.0 kB)
Comment
Answer by MikeNewall · May 24, 2014 at 09:58 PM
It's possible to make a tillable hex texture
http://gamelogic.co.za/2013/08/04/how-do-i-make-a-seamless-hex-tile/
You'd need to make sure the uv's are laid out correctly for this to work.