Skip to content

Implementation of a method for specular anti-aliasing for microfacet based BRDFs with BGFX rendering library.

License

Notifications You must be signed in to change notification settings

cyrillajarge/specular-antialiasing

Repository files navigation

Specular Antialiasing using Kaplanyan et. al method [1] with BGFX rendering library [2]

BGFX Dependencies

How to use

  1. Get bg as well as bimg and put them in the same directory as this repository.
  2. 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 of genie to see how to build the project if you are on another platform.
  3. The Visual Studio project is then available under the .build directory.

The implementation is done in an example called xx-specular-antialiasing in examples.

Results

Without specular antialiasing:
result-without-specular-antialiasing With specular antialiasing: result-with-specular-antialiasing

References

[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

About

Implementation of a method for specular anti-aliasing for microfacet based BRDFs with BGFX rendering library.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published