Hello-world project to use bgfx with GLFW.
Use CMake:
git clone https://github.com/yuki-koyama/hello-bgfx.git --recursive
mkdir build
cd build
cmake ../
make
Enable the CMake option HELLO_BGFX_BUILD_SHADERS
, and then build the target build-shaders
. This target builds the tool shaderc
in bgfx and then builds the shader sources by using it.
- macOS only
- OpenGL 4.1 only
- Right-handed
- Y up and -Z forward