Understanding the Masking-Shadowing Function in Microfacet-Based BRDFs

Eric Heitz 1, *
* Auteur correspondant
1 MAVERICK - Models and Algorithms for Visualization and Rendering
Inria Grenoble - Rhône-Alpes, LJK - Laboratoire Jean Kuntzmann, INPG - Institut National Polytechnique de Grenoble
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.
Type de document :
Article dans une revue
Journal of Computer Graphics Techniques, Williams College, 2014, 3 (2), pp.32-91. <http://jcgt.org/published/0003/02/03/>
Liste complète des métadonnées

Contributeur : Eric Heitz <>
Soumis le : mercredi 16 juillet 2014 - 03:59:32
Dernière modification le : mardi 16 septembre 2014 - 10:13:34
Document(s) archivé(s) le : lundi 24 novembre 2014 - 14:39:37


  • HAL Id : hal-01024289, version 1



Eric Heitz. Understanding the Masking-Shadowing Function in Microfacet-Based BRDFs. Journal of Computer Graphics Techniques, Williams College, 2014, 3 (2), pp.32-91. <http://jcgt.org/published/0003/02/03/>. <hal-01024289>



Consultations de
la notice


Téléchargements du document