- Home /
How to generate planes into a chunk?
Hi, I am trying to make a infinite terrain generator with using planes. I would like my outcome to generate like this, but I am stuck at putting my mesh into a chunk and loading them based on player position. Right now all I have is a quad. Could anyone lead me or tell me where to go next? All I see is tutorials about chunks using cubes. I don't need depth in my game. and I am also trying to have that low-poly look to it too. Thanks.
Answer by RudyTheDev · Dec 10, 2014 at 09:38 PM
You probably want to generate your own meshes. See something like this tutorial. It is essentially making your own Mesh to .mesh in MeshFilter.
Infinite terrain gen would involve a lot more algorithmic concepts. You can try a popular Perlin Noise one. Then split your world into chunks and add/remove as the player moves around.
I already generated my own mesh. I made a small plane, I just want to create a facet look to it and put it into a chunk. I'll research into to it more. I think I am going the right way...
As always, check out this thread if you are serious about procedural mesh generation or $$anonymous$$inecraft-clones. For that matter, also check up on Unity $$anonymous$$inecraft clone tutorials.
"facet" look is just lighting and shader, at least that's what it looks like in that example.
Your answer
Follow this Question
Related Questions
How to assign UV coordinates to arbitrary mesh. 1 Answer
Raycasting plane mesh from the side 0 Answers
how one would go about using Triangulator in javascript? 0 Answers
Procedural terrain generation ? 0 Answers
Dyanmic Platforms and Erasing Geometry? 0 Answers