xavieran / BaKGL

Remake of Betrayal at Krondor using OpenGL
https://xavieran.github.io/blog/
GNU General Public License v3.0
44 stars 3 forks source link

Compile shaders into the code #199

Closed xavieran closed 4 months ago

xavieran commented 4 months ago

While it's nice to be able to change shaders on the fly, for wider distribution it's also good to compile the shaders directly into the binary.

Add some CMake plumbing to do this.