BRDF Explorer
Try it
You can see it live here!
Screenshot
About
BRDF Explorer is a simple tool built to provide a visual comparison between different BRDF models commonly used in 3D graphics. The implemented models are the following.
For the diffuse component:
For the distribution term of the specular component:
For the geometric (or shadowing) term of the specular component:
For the Fresnel term of the specular component:
- None
- Cook-Torrance
- Schlick
Moreover the following roughness remapping are given to the user:
NOTE: Despite the similarity in the name, this tool does not aim to be an alternative to BRDF Explorer built by Disney Animation Studios. Its scope is much more limited and served both as an exercise to implement first hand the BRDF models in GLSL, and to have some visual feedbacks about the differences between models.
Reference
- http://graphicrants.blogspot.it/2013/08/specular-brdf-reference.html
- http://simonstechblog.blogspot.it/2011/12/microfacet-brdf.html
- http://www.frostbite.com/wp-content/uploads/2014/11/course_notes_moving_frostbite_to_pbr.pdf
- https://disney-animation.s3.amazonaws.com/library/s2012_pbs_disney_brdf_notes_v2.pdf
- https://de45xmedrsdbp.cloudfront.net/Resources/files/2013SiggraphPresentationsNotes-26915738.pdf
- http://www.crytek.com/download/2014_03_25_CRYENGINE_GDC_Schultz.pdf
- https://seblagarde.wordpress.com/2011/08/17/hello-world/
- https://seblagarde.files.wordpress.com/2013/08/gdce13_lagarde_harduin_light.pdf
- https://seblagarde.wordpress.com/2013/04/29/memo-on-fresnel-equations/
Compatibility
The tool has been tested on Firefox, Chrome, Safari, Opera and Edge, both desktop and mobile. Its only requirement is a fairly recent browser with WebGL support.
Future Work
- Implement other BRDF models
- Let the user write its own models through a text editor directly inside the application
License
It is licensed under the very permissive MIT License. For the complete license see the provided LICENSE file in the root directory.
Thanks
BRDF Explorer is built upon the following libraries: