This website is a part of the Graphics Programming lecture at the University of Marburg. The JavaScript source of this example is: renderer.js
Information on the Microfacet BRDF and physically based rendering can be found in these lecture slides. Furthermore, there is a detailed video tutorial on the Microfacet BRDF.
If you do not see an output below, your browser does not support WebGL2. In this case, update your browser or visit the WebGL 1.0 version.
Vertex shader: |
Fragment shader: |
Note: The interface on this website is kept very simple. If you are looking for a more advanced online GLSL editor that allows uploading own 3D meshes and can handle custom
uniform variables, the GSN Composer might be of interest.
Microfacet BRDF: Open example in the GSN Composer