/BRDFExplorer

Primary LanguageJavaScriptMIT LicenseMIT

BRDF Explorer

Try it

You can see it live here!

Screenshot

brdfexplorer

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:

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

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: