Thanks! This project was targeted for opengl 4.0 core only. Downgrading to a lower version of ogl requires the rewrite of all the shaders that uses tesselation and other post 4.0 features. It’s possible to change the first line of the shaders from “#version 400 core” to “#version 300”, and then modify them to support an older version. Additionally, you can fallback to a simple quadtree rendering approach and skip the tes/tcs stages to render the terrain. The generated colliders wont be exactly aligned to the mesh, but it’ll still look ok.
Hello , cool project … how downgrade to opengl 3.0 ? thanks
LikeLike
Thanks! This project was targeted for opengl 4.0 core only. Downgrading to a lower version of ogl requires the rewrite of all the shaders that uses tesselation and other post 4.0 features. It’s possible to change the first line of the shaders from “#version 400 core” to “#version 300”, and then modify them to support an older version. Additionally, you can fallback to a simple quadtree rendering approach and skip the tes/tcs stages to render the terrain. The generated colliders wont be exactly aligned to the mesh, but it’ll still look ok.
LikeLike