Oren-Nayar diffuse model
From Wikipedia, the free encyclopedia
The Oren-Nayar model is a microfacet model of diffuse lighting due to Michael Oren and Shree K. Nayar. It is a more accurate but more complicated model of diffuse lighting than the Lambertian model. Unlike the Lambertian model it takes into account the roughness of the surface.
Let σ be the roughness of the surface. Let (θi,φi) be the direction of incoming light and let (θr,φr) be the direction of the reflected light(ie. the direction to the eye). Then if
- and
- ,
the diffuse term is
where I is the intensity of the light source,
- α = max(θi,θr)
- β = min(θi,θr).
Here ρ is a parameter related to the microfacet distribution, which can be absorbed into the surfaces diffuse color.
In the limit of a perfectly smooth surface (σ goes to 0), A goes to 1, and B goes to 0, so the model becomes that of Lambert, as expected.
[edit] References
- Oren & Nayar. "Generalization of Lambert's Reflectance Model" ACM Computer Graphics Proceedings (SIGGRAPH '94).
- Astle, Dave. More OpenGL Game Programming pgs 240-242.
- Oren, Michael & Nayar, Shree K. "Diffuse Reflectance from Rough Surfaces".