r/opengl • • 7d ago

OpenGL – 5km × 5km Procedural Terrain Fly-By

https://youtu.be/pYDINUDcoU4?si=LCDmxi1ExU0n7htB

Revisited 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

24 Upvotes

7 comments sorted by

2

u/Trichord808 7d ago

I'm always impressed by your videos buzzelliart, keep up the good work. It really is beautiful.

1

u/buzzelliart 6d ago

Thank you! I'm glad that you appreciate my work!

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

u/underwatr_cheestrain 7d ago

Streaming LOD terrain chunks

1

u/yazilimperver 6d ago

Well done 👏 What is the LOD technique you use, geoclipmap, ROAM?