Hey guys. Im working on my first voxel engine as I love procedural content. I First started by making this world generator:
After making his I thought i wanted to make voxel engine like minecraft. Not becuase i want to make a clone of minecraft but becuase like i said im love procedural content and want to learn it as best i can. So i have created a voxel engine os far that when running a method it will update all the blocks and check if it is surrounded by blocks. If it is it will make the block invisible. For some reason it still lags like crap. I Have a pretty good computer and when playing minecraft i can run it maxed out with no lag but with my game that has less cubes it lags. Is there a way to render things that are not seen(occlusion culling) but in realtime as i can’t predict the level. Thanks