Linked Questions
10 questions linked to/from Unity block chunk generation pattern
23
votes
1
answer
6k
views
Optimization of rendering of cube world
I have a world made of many cubes (like in Minecraft), they have only color (not texture). I am rendering them using OpenGL 3.3 core profile (GLFW3, GLAD, GLM). I am already have done some ...
2
votes
2
answers
4k
views
Texturing different block types on an optimized voxel mesh
I have a cubic world (like Minecraft) where I'm generating chunks. In those chunks, only visible vertices and faces are generated.
Currently, it means that if I have a 2x2x1 chunk, it will generate 8 ...
1
vote
2
answers
1k
views
Combining mesh on the fly without using gameObject
I procedurally generate chunks and use the marching cube algorithm to create meshes in 3D.
At first, I just created a gameObject for each cube (of course, I knew it was not optimized, but I wanted to ...
1
vote
0
answers
2k
views
How to make voxel terrain mesh
I've been trying to make a procedurally generated "pixelated" (semi voxel) terrain (using Unity), as seen in Sebastian Lague's video on simulating ecosystems. (Image attached)
I've tried ...
1
vote
0
answers
1k
views
UV unwrapping and texturing for a voxel terrain
As sugested by another kind user, I started using MagicaVoxel to create the scenery for my game (which is in the 2.5D style of Pokémon Gen 5 or Octopath Traveler).
I managed to import the test object ...
0
votes
1
answer
603
views
Mesh getting offset on combine because of worldmatrix
When I try to combine my mesh, it get offset to an other position, but the collider is still at the same place (because i dont delete and add it again). I saw a fix on internet that is to do:
...
0
votes
0
answers
235
views
LWJGL removing voxel faces that are not visible
I am simply trying to achieve removing voxel faces that are not visible.What I have coded simply renders a chunk of 16x16x16. I already have back face culling enabled, which it does work. so as I'm ...
0
votes
0
answers
114
views
How to optimize rendering in a block game in Unity
I'm trying to developing a simple cube game (minecraft-like, without voxel).
Player can instantiate Cube 1x1x1 in the world.
Cube have different texture max size 512x512.
When Camera look at some &...
0
votes
1
answer
88
views
How to properly build unity mesh from 3dsmax Triobj extracted data
I'm trying to make a importer for my mesh file exported from 3ds max sdk using triobj
I already changed YZ vectors and extracted data is just like a obj file.
In unity I have no idea how to build it ,...
0
votes
0
answers
31
views
Destroying cubes in combined mesh at runtime [duplicate]
How could I destroy cubes from a mesh? Once i've combined my cube to a single mesh, would it be possible to be able to destroy one of these cube but to keep a mesh ?
Ive seen a video where te person ...