AldeRoberge / Unity-Procedural-Voxel-Terrain

Procedural Voxel Terrain Project

Home Page:https://bbtarzan12.github.io/Voxel-Part-1/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Note

This is a fork of bbtarzan12's Unity-Procedural-Voxel-Terrain. I recently discovered this project and was amazed at the simplicity of the code and the quality of the results. I will be using this for my own projects, so I decided to fork it to try to make it even better.

Great read (use Google Translate) :

Fixes

  • Port to Unity 2021 LTS (2021.3.16f1)
  • Port project to Universal Render Pipeline (URP)
  • Visual glitch : Fix color banding (URP fixes this)
  • Minor visual bug : Fix very bright/dark pixels far away. (Solution = 2x MSAA (Enable Post processing))
  • Minor visual bug : Slight mipmap bug on close texture, circle around player (URP fixes this)
  • Minor visual bug : Two meshes textures side by side will have slight problem in seam (URP fixes this)
  • Minor gameplay bug : Fix player hitbox too small, allowing the player to see through walls when close. (Fix : 0.01 Camera near plane clipping)
  • Remove unused code (WIP)
  • Major optimization : Chunks are never unloaded, add dynamic unloading of chunks. image
  • Minor gameplay bug : Destroy block under player = fall out of world FallingOutOfWorld
  • Minor gameplay bug : Place block under player = blocked Stuck

Additions

  • Add voxel nature and vegetation (rocks, grass, trees)
  • Add water shader for ocean and rivers
  • Add volumetric lights, post fx, fog
  • Add custom meshes (stairs, doors)
  • Add import minecraft world files functionality
  • Add Crouching to Character
  • Port Player Movement to Input System

Unity-Procedural-Voxel-Terrain

Procedural Voxel Terrain Project

Main

Mesh Optimization

Stupid Method

Stupid

Culling Method

Stupid

Greedy Meshing Only Y Axis

Stupid

Greedy Meshing

Stupid

Texture Mapping

Texture Mapping

Ambient Occlusion

Ambient Occlusion

With Greedy Meshing

Ambient Occlusion with Greedy Meshing

License

This project is licensed under the MIT License - see the LICENSE file for details

About

Procedural Voxel Terrain Project

https://bbtarzan12.github.io/Voxel-Part-1/

License:MIT License


Languages

Language:C# 100.0%