# Bidirectional reflectance distribution function

The bidirectional reflectance distribution function (BRDF; $f_{\text{r}}(\omega _{\text{i}},\,\omega _{\text{r}})$ ) is a four-dimensional function that defines how light is reflected at an opaque surface. The function takes a negative incoming light direction, $\omega _{\text{i}}$ , and outgoing direction, $\omega _{\text{r}}$ , both defined with respect to the surface normal ${\mathbf {n} }$ Template:Clarify, and returns the ratio of reflected radiance exiting along $\omega _{\text{r}}$ to the irradiance incident on the surface from direction $\omega _{\text{i}}$ . Each direction $\omega$ is itself parameterized by azimuth angle $\phi$ and zenith angle $\theta$ , therefore the BRDF as a whole is 4-dimensional. The BRDF has units sr−1, with steradians (sr) being a unit of solid angle.

## Definition

The BRDF was first defined by Fred Nicodemus around 1965. The definition is:

The reason the function is defined as a quotient of two differentials and not directly as a quotient between the undifferentiated quantities, is because other irradiating light than $\operatorname {d} E_{\text{i}}(\omega _{\text{i}})$ , which are of no interest for $f_{\text{r}}(\omega _{\text{i}},\,\omega _{\text{r}})$ , might illuminate the surface which would unintentionally affect $L_{\text{r}}(\omega _{\text{r}})$ , whereas $\operatorname {d} L_{\text{r}}(\omega _{\text{r}})$ is only affected by $\operatorname {d} E_{\text{i}}(\omega _{\text{i}})$ .

## Related functions

The Spatially Varying Bidirectional Reflectance Distribution Function (SVBRDF) is a 6-dimensional function, $f_{\text{r}}(\omega _{\text{i}},\,\omega _{\text{r}},\,{\mathbf {x} })$ , where $\mathbf {x}$ describes a 2D location over an object's surface.

The Bidirectional Texture Function (BTF) is appropriate for modeling non-flat surfaces, and has the same parameterization as the SVBRDF; however in contrast, the BTF includes non-local scattering effects like shadowing, masking, interreflections or subsurface scattering. The functions defined by the BTF at each point on the surface are thus called Apparent BRDFs.

The Bidirectional Surface Scattering Reflectance Distribution Function (BSSRDF), is a further generalized 8-dimensional function $S({\mathbf {x} }_{\text{i}},\,\omega _{\text{i}},\,{\mathbf {x} }_{\text{r}},\,\omega _{\text{r}})$ in which light entering the surface may scatter internally and exit at another location.

In all these cases, the dependence on the wavelength of light has been ignored and binned into RGB channels. In reality, the BRDF is wavelength dependent, and to account for effects such as iridescence or luminescence the dependence on wavelength must be made explicit: $f_{\text{r}}(\lambda _{\text{i}},\,\omega _{\text{i}},\,\lambda _{\text{r}},\,\omega _{\text{r}})$ .

## Physically based BRDFs

Physically based BRDFs have additional properties, including,

## Applications

The BRDF is a fundamental radiometric concept, and accordingly is used in computer graphics for photorealistic rendering of synthetic scenes (see the Rendering equation), as well as in computer vision for many inverse problems such as object recognition.

## Models

BRDFs can be measured directly from real objects using calibrated cameras and lightsources; however, many phenomenological and analytic models have been proposed including the Lambertian reflectance model frequently assumed in computer graphics. Some useful features of recent models include:

W. Matusiak et al. found that interpolating between measured samples produced realistic results and was easy to understand.

### Some examples

• Lambertian model, representing perfectly diffuse (matte) surfaces by a constant BRDF.
• Lommel–Seeliger, lunar and Martian reflection.
• Phong reflectance model, a phenomenological model akin to plastic-like specularity.
• Blinn–Phong model, resembling Phong, but allowing for certain quantities to be interpolated, reducing computational overhead.
• Torrance–Sparrow model, a general model representing surfaces as distributions of perfectly specular microfacets.
• Cook–Torrance model, a specular-microfacet model (Torrance–Sparrow) accounting for wavelength and thus color shifting.
• Ward model, a specular-microfacet model with an elliptical-Gaussian distribution function dependent on surface tangent orientation (in addition to surface normal).
• Oren–Nayar model, a "directed-diffuse" microfacet model, with perfectly diffuse (rather than specular) microfacets.
• Ashikhmin-Shirley model, allowing for anisotropic reflectance, along with a diffuse substrate under a specular surface.
• HTSG (He,Torrance,Sillion,Greenberg), a comprehensive physically based model.
• Fitted Lafortune model, a generalization of Phong with multiple specular lobes, and intended for parametric fits of measured data.
• Lebedev model for analytical-grid BRDF approximation.

## Acquisition

Traditionally, BRDF measurements were taken for a specific lighting and viewing direction at a time using gonioreflectometers. Unfortunately, using such a device to densely measure the BRDF is very time consuming. One of the first improvements on these techniques used a half-silvered mirror and a digital camera to take many BRDF samples of a planar target at once. Since this work, many researchers have developed other devices for efficiently acquiring BRDFs from real world samples, and it remains an active area of research.

There is an alternative way to measure BRDF based on HDR images. The standard algorithm is to measure the BRDF point cloud from images and optimize it by one of the BRDF models.