This repository is Part 2 of Vercidium's Free Friday series.
You can get access to the full Vercidium Engine source code by joining my Patreon or sponsoring me on GitHub sponsors.
This is a standlone renderer that uses gl_VertexID
to render a heightmap with minimal data.
This project uses Silk.NET so it should be cross-platform, but I've only tested it on Windows.
Key files:
Client.cs
creates the buffer and renders itHeightmapShader.cs
applies the gl_VertexID magic
An explanation of this gl_VertexID magic can be found here.
Controls:
- WASD to move around
- QE to move up/down
- Space to view the wireframe