Change of Variable for the Surface Delta Distribution
These notes walk through how the distribution of microsurface normals can be expressed by applying a change of variables to the Dirac delta function. The goal is to make the connection between geometric area on a surface and the statistical density of normals explicit.
Definitions
We begin with the core definitions that set up the derivation:
- Omega is the spherical domain that spans 4 pi steradians.
- Script M denotes the microsurface under consideration.
- p_m is a point on that microsurface.
- omega_m(p_m) is the surface normal at p_m. Think of omega_m as a mapping from position to unit direction.
- G represents the actual geometry with area 1 m^2, meaning the integral of dp_g over G equals one.
The distribution of normals is defined by
Delta Distribution Property
A key identity for the Dirac delta under change of variables is
Applying this identity to the definition of D(omega) yields a summation over all points whose normal matches the chosen direction:
Linking Geometry and Normal Density
Integrating D(omega) over a subset Omega prime of the sphere accumulates the area of all microsurface points whose normals fall inside that region:
Each term in that limit is the infinitesimal area associated with a particular normal direction. Summing them recovers the portion of the microsurface whose normals lie in Omega prime:
Takeaways
- The normal distribution D(omega) can be computed from any finite microsurface realization by finding the points with a given normal, then evaluating the Jacobian in the summation.
- This formulation bridges the spatial layout of a microsurface with the statistical description of its normals.
- Averaging D(omega) across many realizations (written as angled brackets around D) gives the normal distribution used by familiar models such as Beckmann or GGX, aside from the cosine-weighted normalization.
Together, these steps show that integrating a delta-distribution of normals is equivalent to measuring actual surface area. That insight underpins how microfacet distributions link physical geometry to shading models.