- Get bg as well as bimg and put them in the same directory as this repository.
- Go to the root of bgfx directory and run the command
..\bx\tools\bin\windows\genie.exe --platform=x64 --with-tools --with-examples --with-windows=10 vs2019
to build all examples for Windows with Visual Studio 2019. Consult the help ofgenie
to see how to build the project if you are on another platform. - The Visual Studio project is then available under the
.build
directory.
The implementation is done in an example called xx-specular-antialiasing in examples
.
Without specular antialiasing:
With specular antialiasing:
[1]
Kaplanyan, A. S. and Hill, S. and Patney, A. and Lefohn, A. , Filtering Distributions of Normals for Shading Antialiasing, 2016
[2]
https://bkaradzic.github.io/bgfx/index.html