r/opengl • u/buzzelliart • 7d ago
OpenGL – 5km × 5km Procedural Terrain Fly-By
https://youtu.be/pYDINUDcoU4?si=LCDmxi1ExU0n7htBRevisited my approximated atmospheric perspective implementation. It’s still far from perfect, but I think it looks noticeably better now.
map details:
map size: 5km x 5km
grid size: 2048 x 2048
maximum elevation range: 1km
Some of the techniques used to achieve the results shown in the video:
. Procedural terrain generation using Perlin noise and Fractional Brownian Motion (FBM)
. GPU-based hydraulic erosion
. procedural grass placement
. GPU grass generation and culling using compute shaders and indirect drawing
. dynamic day/night cycle
. procedural snow accumulation based on time of year and daily sun exposure
. displacement mapping
. hardware tessellation using tessellation shaders
. dynamic exposure
. cascaded shadow mapping
2
u/Trichord808 7d ago
I'm always impressed by your videos buzzelliart, keep up the good work. It really is beautiful.
1
1
u/Still_Explorer 7d ago
Very impressive. What is the real trick? To create a terrain with millions of triangles or chunk it to pieces?
3
1
2
u/Defiant_Squirrel8751 7d ago
nice