Skip to content
tezvyn:

BRDF: Modeling How Surfaces Reflect Light

Source: Wikipedia: Bidirectional reflectance distribution functionHardHow cards are made

BRDF: Modeling How Surfaces Reflect Light

A BRDF is a function that describes a surface's appearance by defining how it reflects light from any incoming direction to any viewing direction. It's used in rendering engines to create materials like brushed metal or velvet.

Why it exists

To create realistic computer-generated images, we need a physically accurate way to model how different materials interact with light. Simply assigning a single color isn't enough to capture effects like shininess, roughness, or the sheen on velvet. The Bidirectional Reflectance Distribution Function (BRDF) provides a precise mathematical framework for this.

The mental model

Think of a BRDF as a material's "reflection rulebook." For any given point on a surface, the BRDF can tell you exactly how a ray of light coming from one direction will scatter in all other possible directions. A mirror has a simple rulebook (light bounces out at the same angle it came in), while brushed metal has a complex one (light scatters more along its grain).

How it works

The BRDF is a function that takes two directions as input: the incoming light direction and the outgoing view direction. Both are specified relative to the surface. The function returns a value representing the ratio of reflected radiance (light energy leaving in the view direction) to the irradiance (light energy arriving from the light direction). Since each direction is defined by two angles (azimuth and zenith), the BRDF is a function of four variables. Its units are inverse steradians (sr⁻¹), a measure of how light is concentrated into a solid angle.

When to use it

BRDFs are essential in any application requiring physically based rendering (PBR). This includes high-fidelity computer graphics for film and games, architectural visualization, and product design. They are also used in computer vision for tasks like material recognition and inverse rendering, where you infer material properties from an image.

When not to use it

The standard BRDF model is for opaque surfaces only. It does not account for light that is transmitted through a material (translucency, like skin or marble) or scattered underneath the surface. For those effects, you need more complex functions like a BTDF (Bidirectional Transmittance Distribution Function) or a BSSRDF (Bidirectional Surface Scattering Reflectance Distribution Function).

One canonical example

The Lambertian reflection model is the simplest BRDF. It describes a perfectly diffuse, or matte, surface. The BRDF value is constant for all incoming and outgoing directions. This means light scatters equally in all directions, regardless of the viewing angle, which is why a matte wall looks the same from different viewpoints. In contrast, a Blinn-Phong model is a more complex BRDF that adds a specular component to simulate shininess.

Interview question

Which optical phenomenon is NOT directly accounted for by a standard Bidirectional Reflectance Distribution Function (BRDF)?

  • a.The way light penetrates and exits a marble sculpture.Correct
  • b.The uniform scattering of light from a matte wall.
  • c.The directional sheen observed on brushed metal.
  • d.The mirror-like reflection from a polished surface.
Why?

The card explicitly states that standard BRDF models are for opaque surfaces only and do not account for light transmitted through a material (translucency) or scattered underneath the surface, which describes light interacting with a marble sculpture. The other options are all forms of surface reflection that BRDFs are designed to model.

Just read this? Test yourself on what you have been reading.

Read the original → en.wikipedia.org

You just looked this up. Could you explain it out loud?

That is the part interviews actually test. Tezvyn takes questions like this one and gives you what the interviewer is really checking, the answer that lands, and the mistake that ends the conversation, in the four minutes before your next meeting.

The iPhone app is on the way

We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.

Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.

Get it on Google PlayiPhone app coming soon

We are hiring for this. Every open role lists the topics its interview covers, so you can prepare for the real thing rather than guessing.

See open roles