Skip to Main content Skip to Navigation
New interface
Journal articles

Understanding the Masking-Shadowing Function in Microfacet-Based BRDFs

Eric Heitz 1, * 
* Corresponding author
1 MAVERICK - Models and Algorithms for Visualization and Rendering
Inria Grenoble - Rhône-Alpes, LJK - Laboratoire Jean Kuntzmann, Grenoble INP - Institut polytechnique de Grenoble - Grenoble Institute of Technology
Abstract : We provide a new presentation of the masking-shadowing functions (or geometric attenuation factors) in microfacet-based BRDFs and answer some common questions about their applications. Our main motivation is to define a correct (geometrically indicated), physically based masking function for application in microfacet models, as well as the properties that function should exhibit. Indeed, several different masking functions are often presented in the literature and making the right choice is not always obvious. We start by showing that physically based masking functions are constrained by the projected area of the visible micro-surface onto the outgoing direction. We use this property to derive the distribution of visible normals from the microsurface, whose normalization factor is the masking function. We then show how the common form of microfacet-based BRDFs emerges from this distribution. As a consequence, the masking function is related to the correct normalization of microfacet- based BRDFs. However, while the correct masking function satisfies these normalization constraints, its explicit form is can only be determined for a given microsurface profile. Our derivation emphasizes that under the assumptions of their respective microsurface profiles, both Smith's function and the V-cavity masking function are correct. However, we show that the V-cavity microsurface yields results that miss the effect of occlusion, making it analogous to the shading of a normal map instead of a displacement map. This observation explains why the V-cavity model yields incorrect glossy highlights at grazing view angles. We also review other common masking functions, which are not associated with a micro-surface profile and thus are not physically based. The insights gained from these observations motivate new research directions in the field of microfacet theory. For instance, we show that masking functions are stretch invariant and we show how this property can be used to derive the masking function for anisotropic microsurfaces in a straightforward way. We also discuss future work such as the incorporation of multiple scattering on the microsurface into BRDF models.
Document type :
Journal articles
Complete list of metadata
Contributor : Eric Heitz Connect in order to contact the contributor
Submitted on : Wednesday, July 16, 2014 - 3:59:32 AM
Last modification on : Thursday, January 20, 2022 - 5:30:58 PM
Long-term archiving on: : Monday, November 24, 2014 - 2:39:37 PM


  • HAL Id : hal-01024289, version 1



Eric Heitz. Understanding the Masking-Shadowing Function in Microfacet-Based BRDFs. Journal of Computer Graphics Techniques, 2014, 3 (2), pp.32-91. ⟨hal-01024289⟩



Record views


Files downloads