Mesh per Chunk Vs. Mesh per Voxel
I am currently creating a minecraft like game and have been following a tutorial by AlexStv. In the tutorial he gets each chunk to collect the vertices, triangle, etc., information from each voxel and...
View ArticleHow to check visibility of inactive mesh?
How can I check if an inactive mesh is visible, so that if it is visible I can render it, but if it isnt keep it disabled? I want to continue making a chunk system but I don't wanna render meshes that...
View ArticleHave multiple animated objects always on same frame with chunk loading/...
To explain i have multiple gameobjects with the same looping animation and im planning on using Frustum culling to help reduce the CPU, which is only activating the gameobject when it is within range...
View ArticleHow to generate a grid from the center?
Without starting from one corner to another, but from the center and expands, because I'm learning ways to program my own chunk system. ~Thanks in advance.
View ArticleHow Do I Fix My Grass?
Hi im pretty new to unity but I have a decent amount of coding under my belt. Im trying to get a thick lush grass on my map but for some reason I cant seem to make it dense? Im thinking it may be a...
View Articleprocedural mesh using tile assets
First some background: I'm creating a large chunk based tile map that is procedurally generated. Each chunk is roughly 32x32 hex tiles with various heights. All is good in the land of basic...
View ArticleConfused on exactly how to utilize chunks.
So first time posting here. If I made any mistake with the location of my question just let me know and I'll move it or repost it. To my question though. I have gained a decent interest in game design...
View ArticleInfinite world generation help C# (Like chunks)
Okay, so I have a very simple problem that I have no idea how to approach. I'm making a **2d Topdown game** and I would like chunks of space to load around my ship but as I move away from them they...
View ArticleMinecraft clone, how to handle grass block colours
I'm working on a Minecraft clone at the moment as a way to learn more about procedural generation. I've got infinite generation going, Chunks that are generating a single mesh each from an array of...
View ArticleBest way to store large list
Hi everyone, I'm working on a endless map generator and I don't know the best way to store large amount of data. First, my (simplified) world is chunked (because it's endless) and handled in 3 levels:...
View ArticleBlend edges between multi terrains?
Hey i don't know how it's called but what i mean is that i have a terrain a big one and i have slice it to 32 x 32 pieces,and what everyone may have got to that's how do i blend between the terrains ?...
View Article2D Circular Array
Hello guys, this one is really hard to understand for me. My current approach of storing level data is to always have 8x8 Chunks and each chunk has a 2d-Array of bytes representing each block in this...
View ArticleIs it a good idea to make many terrain chunks instead of a big one?
I really would like lightmaps on my terrain, so that there is no need for real shadows from my static objects (and Ambient Occlusion - so pretty :3 ). Having a big terrain is easy for the workflow, but...
View ArticleCorrecting normals along chunk edges
I have chunked terrain that I pre-process within Blender (via python scripts), leaving only the tasks that absolutely must happen at runtime to Unity. I start off with a cube consisting of 16x16x6...
View ArticleWTH does this error mean ? and what exactly is 'false' ?
Ok, so I made a new game/project to try and sort out another issue I was having (thought would be easier with the bare minimum components to resolve it. Anyway.. did that, created a terrain, centred it...
View Articlehow to create chunks in voxel terrain generation
Hello everyone, i am trying to make a multiplayer adventure game and want to have procedural terrain generation. The script I created for this is capable to create a single chunk, the broblem comes...
View ArticleLevel Chunk for infinte 2D runner
Currently I have an infinite runner that uses object pooling to spawn floors with no gaps, obstacles and platforms that are in the air and can be jumped onto. The floor is spawning at a constant rate....
View ArticleGame optimisation using SetActive partially ineffective.
I am building a cave exploration game (Which is supposed to be infinite on all 3 axis.) that uses a modified version of perlin-noise. I thought I had the optimisation sussed as it runs like butter for...
View ArticleHow to create chunks
In regards in marching cubes. I get that chunks are sections of the voxel array but do I create chunks and make the mesh of each chunk and make it seamless do I still put all the voxels into the array...
View ArticleUnity 5 - Convert sprites into singular sprite.
Hi all, First of all I would like to mention that this code will be run in an editor script so that when a button is pressed in the editor a group of sprites will be converted into one larger...
View Article