© Claudia Doppioslash 2018
Claudia DoppioslashPhysically Based Shader Development for Unity 2017https://doi.org/10.1007/978-1-4842-3309-2_12

12. Implementing a BRDF

Claudia Doppioslash
(1)
Liverpool, Merseyside, UK
 
In Chapter 9, we modified Phong to make it energy conserving. In the last chapter, we introduced many different BRDFs that can be implemented.
In this chapter, we’re going to implement one of those BRDFs as a surface shader in Unity.

Which BRDF to Implement?

The most popular BRDFs used in games at the moment are CookTorrance and the Disney BRDF. They’re both physically based BRDFs to different degrees. The Disney BRDF is referred to as “principled” rather than entirely physically based.
Their main objective, when developing the Disney BRDF, ...

Get Physically Based Shader Development for Unity 2017: Develop Custom Lighting Systems now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.