fede-vaccaro / TerrainEngine-OpenGL

An OpenGL 4 and C++ program which renders a procedural scene.
MIT License
634 stars 88 forks source link

Fix the volumetric clouds collisions with terrain. #8

Open fede-vaccaro opened 5 years ago

fede-vaccaro commented 5 years ago

If the user try to increase the terrain height, he will notice that the terrain won't go through the clouds. This is because the clouds have no effective depth value in the opengl context.