Opengl dynamic terrain grass LOD using Geometry and Tessellation shaders.

preview_player
Показать описание
This is a video for my OpenGL graphics showcase.

This program creates a terrain and then uses a tesselation shader to add more vertices to the terrain mesh. A geometry shader creates 3 blades of grass for each vertex generated.

The tessellation shader creates more vertices based on the distance to the camera, allowing for dynamic LOD. As well as dynamic LOD for the grass since it generates more grass due to there being more vertices.
Рекомендации по теме
Комментарии
Автор

Nice work! Is the source code available somewhere to try it?

alessandromarchioro