3D Mesh Generation, Gaps, and Stitching (3D World Generation #10)
Support me on:
Patreon: https://www.patreon.com/simondevyt
Follow me on:
Twitter: https://twitter.com/iced_coffee_dev
Instagram: https://www.instagram.com/beer_and_code/
Github: https://github.com/simondevyoutube/
Fixing the gaps, slivers, and lighting discontinuities in our 3d terrain meshes.
In this project, we're looking at fixing the gaps and lighting discontinuities between different levels of detail. This is a natural problem that arises when placing 3d meshes of different resolutions side by side. Since we use generate different levels of detail using a quadtree, each chunk is a separate renderable which leads to natural problems when they're placed side by side.
This is a continuation of our series on 3d world generation and procedural terrain, which started with height maps and basic 3d worlds. In the last video in the series, we tackled using logarithmic depth buffers to fix planetary scale problems with the dept buffer, as well as tackling issues with precision in the fragment shaders.
This is all Three.js/WebGL/JavaScript, but should be easy enough to port to Unity or Godot or whatever your working environment is.
Full playlist for 3D World Generation: https://www.youtube.com/playlist?list=PLRL3Z3lpLmH3PNGZuDNf2WXnLTHpN9hXy
Various resources:
Intro Music: www.bensound.com
Misc:
https://stackoverflow.com/questions/4297024/3d-perlin-noise-analytical-derivative
https://en.wikipedia.org/wiki/Finite_difference
Science & Technology
#simondev
#game development
#programming tutorial
#three js
#three js tutorial
#3d world generation
#procedural terrain
#3d mesh generation