From the course: AR Development Techniques 02: Lighting and Physics

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Ambient light estimation: Part 1

Ambient light estimation: Part 1

From the course: AR Development Techniques 02: Lighting and Physics

Start my 1-month free trial

Ambient light estimation: Part 1

- [Instructor] Right now our scene contains a directional light component which has a fixed intensity or brightness value, and fixed color temperature value. So it doesn't matter if we are using the app during the daytime or during the nighttime. The brightness and color temperature of the light will be fixed. But that's not how it works in reality. In reality, the real objects present in the environment will receive lightening according to what the actual lightening conditions are. So if it's noon, it's going to be really bright outside, and if it's evening, it's going to be dark outside. In this video, we are going to write some code to get the true lightening intensity, and color temperature values from the real world and apply it to our lights in the scene. So for example, if we use our app on a really bright sunny day, then our app may translate that to an intensity value of maybe 0.9 or one. And the color…

Contents