SlideShare a Scribd company logo
Physically-Based Rendering
Theory and Practice
Koray Hagen
The agenda
• Lighting and shading models with live demonstration
• Theoretical basis for PBR with live demonstration
• Q & A
Reality and simulation
Three thousand years of research
A brief history
• 4th century B.C.
– Ancient Greeks incorrectly believe
vision involves emanations from the
eye to the object perceived.
A brief history
• 4th century B.C.
– Ancient Greeks incorrectly believe
vision involves emanations from the
eye to the object perceived.
– Euclid successfully describes the law
of reflection using geometry.
A brief history
• 17th century A.D.
– Kepler, Snell, Fermat, and Descartes
contribute to the law of refraction.
A brief history
• 17th century A.D.
– Kepler, Snell, Fermat, and Descartes
contribute to the law of refraction.
– Newton observes dispersion,proving
light is composed of component
colors.
A brief history
• 19th century A.D.
– Fresnel discovers the laws that
enable the intensity and polarization
of reflected and refracted light to be
calculated.
A brief history
• 19th century A.D.
– Fresnel discovers the laws that
enable the intensity and polarization
of reflected and refracted light to be
calculated.
– Maxwell summarizes and extends all
current empirical knowledge of
optics and electromagnetism with a
single set of equations.
A brief history
• 19th century A.D.
– Fresnel discovers the laws that
enable the intensity and polarization
of reflected and refracted light to be
calculated.
– Maxwell summarizes and extends all
current empirical knowledge of
optics and electromagnetism with a
single set of equations.
– Hertz discovers the photoelectric
effect.
A brief history
• 20th century A.D.
– Planck discovers a universalconstant
explainingthe relationship between
the energy and frequency of an
electromagnetic wave.
A brief history
• 20th century A.D.
– Planck discovers a universalconstant
explainingthe relationship between
the energy and frequency of an
electromagnetic wave.
– Einstein explains the photoelectric
effect based on streams of quantized
energy packets.
A brief history
• 20th century A.D.
– Planck discovers a universalconstant
explainingthe relationship between
the energy and frequency of an
electromagnetic wave.
– Einstein explains the photoelectric
effect based on streams of quantized
energy packets.
– Feynman makes large contributions
to quantum field theory and
quantum electrodynamics.
A brief history
• 21st century A.D.
– Jet Propulsion Laboratoryhires PhD
graduateJim Blinn to work on
computer graphics research and
simulations for various space
missions.
A brief history
• 21st century A.D.
– Jet Propulsion Laboratoryhires PhD
graduateJim Blinn to work on
computer graphics research and
simulations for various space
missions.
– These incredible visualizations were
shown all over the world.
Our journey to physicallybased rendering begins here.
Lighting and shading models
Research prior to physicallybased rendering
What is physically-based rendering?
What is physically-based rendering?
• “Many things” and “it depends”
What is physically-based rendering?
• “Many things” and “it depends”
• Must observe how it differs from other older rendering methods.
What is physically-based rendering?
• “Many things” and “it depends”
• Must observe how it differs from other older rendering methods.
• What makes PBR different is in how we reason about the behavior of light and
surfaces in computer graphics.
What is physically-based rendering?
• “Many things” and “it depends”
• Must observe how it differs from other older rendering methods.
• What makes PBR different is in how we reason about the behavior of light and
surfaces in computer graphics.
• By modeling physical phenomena rather than approximating observation, we can
achieve more mathematically stable and photorealistic visual fidelity.
Some terminology
• Lighting model – the behavior of interactions between materials and light sources.
Normally attributed to be a topic in physics.
Some terminology
• Lighting model – the behavior of interactions between materials and light sources.
Normally attributed to be a topic in physics.
• Shading model – the process of determining the color of a pixel. Normally
attributed to be a topic in computer graphics.
Some terminology
• Diffusion and reflection – also known as diffuse and specular reflection.
Some terminology
• Diffusion and reflection – also known as diffuse and specular reflection.
– Describe the most basic separation of light and surface interactions.
Some terminology
• Diffusion and reflection – also known as diffuse and specular reflection.
– Describe the most basic separation of light and surface interactions.
– Specular reflection is the behavior of light hitting a surfaceboundaryand perfectly
reflecting off of it, much like how a mirror would behave.
Some terminology
• Diffusion and reflection – also known as diffuse and specular reflection.
– Describe the most basic separation of light and surface interactions.
– Specular reflection is the behavior of light hitting a surfaceboundaryand perfectly
reflecting off of it, much like how a mirror would behave..
– Diffusion occurs when not all light reflects from the surface. Some will penetrate into
the interior of the illuminated object. There it will either be absorbed by the material
(usuallyconverting to heat) or scattered internally.
Some terminology
• Diffusion and reflection – also known as diffuse and specular reflection.
– Describe the most basic separation of light and surface interactions.
– Specular reflection is the behavior of light hitting a surfaceboundaryand perfectly
reflecting off of it, much like how a mirror would behave..
– Diffusion occurs when not all light reflects from the surface. Some will penetrate into
the interior of the illuminated object. There it will either be absorbed by the material
(usuallyconverting to heat) or scattered internally.
• The absorption and scattering of diffuselight are often quite different for different
wavelengths of light, which is what gives objects their color (e.g. if an object
absorbs most light but scatters blue, it will appear blue).
How was light modeled in 1977?
Blinn-Phong Shading Model
• Every surfaceis made of some material and each material reflects light differently.
Blinn-Phong Shading Model
• Every surfaceis made of some material and each material reflects light differently.
– Think of how metal objects are shiny and wooden objects are matte. We need to have a
way to specify material parameters that can control how a surfacereflects light.
Blinn-Phong Shading Model
• Every surfaceis made of some material and each material reflects light differently.
– Think of how metal objects are shiny and wooden objects are matte. We need to have a
way to specify material parameters that can control how a surfacereflects light.
• Every surfacecan then be approximated with three reflectivity constants, and
they control the intensity of the various reflections.
– 𝐾 𝑎 ambient reflectivity
– 𝐾𝑠 specular reflectivity
– 𝐾 𝑑 diffusereflectivity
– 𝑎 specular highlighting
Blinn-Phong Shading Model
• By sampling relevant spatial information from
a three dimensional scene, the light intensity
at point 𝑃 can be calculated.
Blinn-Phong Shading Model
• By sampling relevant spatial information from
a three dimensional scene, the light intensity
at point 𝑃 can be calculated.
– The normalvector 𝑁 to the surface
– The light vector 𝐿 from the surface
– The view vector 𝑉
Blinn-Phong Shading Model
• By sampling relevant spatial information from
a three dimensional scene, the light intensity
at point 𝑃 can be calculated.
– The normalvector 𝑁 to the surface
– The light vector 𝐿 from the surface
– The view vector 𝑉
• Lambert’s Law states that the diffusion at a
point is proportional to the cosine of the
angle between the incoming light ray 𝐿 and
the normal of the surface 𝑉.
Blinn-Phong Shading Model
• Diffusion value Ld derived from Lambert’s Law
– Ld = Kd * dot(N, L) * light source intensity
• Specular reflection value Ls
– Phong: Ls = Ks * exp(dot(R, V), a) * light source intensity
– Blinn: Ls = Ks * exp(dot(N, H), a) * light source intensity
• Ambient light value La
– La = Ka * ambient light intensity
Blinn-Phong Shading Model
• Diffusion value Ld derived from Lambert’s Law
– Ld = Kd * dot(N, L) * light source intensity
• Specular reflection value Ls
– Phong: Ls = Ks * exp(dot(R, V), a) * light source intensity
– Blinn: Ls = Ks * exp(dot(N, H), a) * light source intensity
• Ambient light value 𝐿 𝑎
– 𝐿 𝑎 = 𝐾𝑎 ∙ 𝑎𝑚𝑏𝑖𝑒𝑛𝑡 𝑙𝑖𝑔ℎ𝑡 𝑖𝑛𝑡𝑒𝑛𝑠𝑖𝑡𝑦
• Light intensity at a pixel equals the sum of 𝐿 𝑎 + 𝐿 𝑠 + 𝐿 𝑑
• shadertoy example
Blinn-Phong is far from perfect
• Does not respect conversation of energy. As specular power is increased, more
energy is lost from the system.
Blinn-Phong is far from perfect
• Does not respect conversation of energy. As specular power is increased, more
energy is lost from the system.
• Isn’t expressive enough to simulate more complex materials due to crude
approximations of diffusion and reflective properties.
Blinn-Phong is far from perfect
• Does not respect conversation of energy. As specular power is increased, more
energy is lost from the system.
• Isn’t expressive enough to simulate more complex materials due to crude
approximations of diffusion and reflective properties.
• Ambient lighting completely ignores diffusion properties of environment.
Blinn-Phong is far from perfect
• Does not respect conversation of energy. As specular power is increased, more
energy is lost from the system.
• Isn’t expressive enough to simulate more complex materials due to crude
approximations of diffusion and reflective properties.
• Ambient lighting completely ignores diffusion properties of environment.
• Terrible workflow for artists, due to final visuals being dependent on physically
incorrect “tweaks” on both lighting and art assets. Errors or discrepancies in
lighting can propagate to other assets.
Physically-based rendering
A modern responseto archaic problems
Bidirectional Reflectance Distribution Function
• A function that describes the reflectance properties of a surface. In computer
graphics, there are different BRDF models some of which are not physically
plausible.
Bidirectional Reflectance Distribution Function
• A function that describes the reflectance properties of a surface. In computer
graphics, there are different BRDF models some of which are not physically
plausible.
• For a BRDF to be physicallyplausible, it must be energy conserving and exhibit
reciprocity.
Bidirectional Reflectance Distribution Function
• A function that describes the reflectance properties of a surface. In computer
graphics, there are different BRDF models some of which are not physically
plausible.
• For a BRDF to be physicallyplausible, it must be energy conserving and exhibit
reciprocity.
• Energy conservation states that the total amount of light re-emitted by a surface
(reflected and scattered back) is less than the total amount it received.
Microfacet theory
• Both diffuse and specular reflection are dependent on surfaceirregularities.
Microfacet theory
• Both diffuse and specular reflection are dependent on surfaceirregularities.
• In practice, the effect of surface roughness on diffuse reflection is much less
prominent because of scattering happening inside the material.
Microfacet theory
• Both diffuse and specular reflection are dependent on surfaceirregularities.
• In practice, the effect of surface roughness on diffuse reflection is much less
prominent because of scattering happening inside the material.
– As a result, outgoing reflected light rays are fairly independentof surfaceroughness and
incident direction. The previous Lambertian model completely ignores this.
Microfacet theory
• An example microfacetbased specular BRDF would be Cook-Torrance:
– 𝑓(𝑙, 𝑣) 𝑚𝑖𝑐𝑟𝑜𝑓𝑎𝑐𝑒𝑡 =
𝐷 ℎ 𝐹 𝑣,ℎ 𝐺 𝑙,𝑣,ℎ
4 𝑛∙𝑙 (𝑛∙𝑣)
Microfacet theory
• An example microfacetbased specular BRDF would be Cook-Torrance:
– 𝑓(𝑙, 𝑣) 𝑚𝑖𝑐𝑟𝑜𝑓𝑎𝑐𝑒𝑡 =
𝐷 ℎ 𝐹 𝑣,ℎ 𝐺 𝑙,𝑣,ℎ
4 𝑛∙𝑙 (𝑛∙𝑣)
• Where:
– 𝑓 𝑚𝑖𝑐𝑟𝑜𝑓𝑎𝑐𝑒𝑡 is the reflectance at normal incident
– 𝐹 is the Fresnel reflectance term
– 𝐺 is the geometry term
– 𝐷 ℎ is the normal distribution term describing how the microfacet normal are distributed
– 𝑙 is the light direction
– 𝑣 is the view direction
– 𝑛 is the surface normal
– ℎ is the half vector between l and v
Microfacet theory
• An example microfacetbased specular BRDF would be Cook-Torrance:
– 𝑓(𝑙, 𝑣) 𝑚𝑖𝑐𝑟𝑜𝑓𝑎𝑐𝑒𝑡 =
𝐷 ℎ 𝐹 𝑣,ℎ 𝐺 𝑙,𝑣,ℎ
4 𝑛∙𝑙 (𝑛∙𝑣)
• Where:
– 𝑓 𝑚𝑖𝑐𝑟𝑜𝑓𝑎𝑐𝑒𝑡 is the reflectance at normal incident
– 𝐹 is the Fresnel reflectance term
– 𝐺 is the geometry term
– 𝐷 ℎ is the normal distribution term describing how the microfacet normal are distributed
– 𝑙 is the light direction
– 𝑣 is the view direction
– 𝑛 is the surface normal
– ℎ is the half vector between l and v
• The goal is to analytically solve the BRDF.
Microfacet theory
• An example microfacetbased specular BRDF would be Cook-Torrance:
– 𝑓(𝑙, 𝑣) 𝑚𝑖𝑐𝑟𝑜𝑓𝑎𝑐𝑒𝑡 =
𝐷 ℎ 𝐹 𝑣,ℎ 𝐺 𝑙,𝑣,ℎ
4 𝑛∙𝑙 (𝑛∙𝑣)
• Where:
– 𝑓 𝑚𝑖𝑐𝑟𝑜𝑓𝑎𝑐𝑒𝑡 is the reflectance at normal incident
– 𝐹 is the Fresnel reflectance term
– 𝐺 is the geometry term
– 𝐷 ℎ is the normal distribution term describing how the microfacet normal are distributed
– 𝑙 is the light direction
– 𝑣 is the view direction
– 𝑛 is the surface normal
– ℎ is the half vector between l and v
• Let’s look at what it would take to solve one of the terms.
Fresnel Effect
• The amount of light you see reflected from a surface depends on the viewing angle
at which you perceive it.
Fresnel Effect
• The amount of light you see reflected from a surface depends on the viewing angle
at which you perceive it.
• None: 𝐹𝑛𝑜𝑛𝑒 𝑣, ℎ = 𝐹0
• Schlick: 𝐹𝑆𝑐ℎ𝑙𝑖𝑐𝑘 𝑣, ℎ = 𝐹0 + 1 − 𝐹0 (1 − 𝑣 ∙ ℎ )5
• Torrance: 𝐹𝐶𝑜𝑜𝑘−𝑇𝑜𝑟𝑟𝑎𝑛𝑐𝑒 = too long to even write …
Fresnel Effect
• The amount of light you see reflected from a surface depends on the viewing angle
at which you perceive it.
• None: 𝐹𝑛𝑜𝑛𝑒 𝑣, ℎ = 𝐹0
• Schlick: 𝐹𝑆𝑐ℎ𝑙𝑖𝑐𝑘 𝑣, ℎ = 𝐹0 + 1 − 𝐹0 (1 − 𝑣 ∙ ℎ )5
• Torrance: 𝐹𝐶𝑜𝑜𝑘−𝑇𝑜𝑟𝑟𝑎𝑛𝑐𝑒 = too long to even write …
• Consequently, Schlick’s Approximation has become quite popular in real time
graphics due to it’s low computational cost.
Conclusion
• Energy conservation is handled by the shader. A reflected ray is never brighter
than the value it had when it first hit the surface.
• The BRDF is handled by the shader. No more magic lighting values, and properties
exposed to artists are based in physical reality.
• Naturally will trend to better visual fidelity and photorealism do due basis is
physical phenomena.
• Large opportunities in numerical analysis to create performant solutions for
solving the needed terms in the BRDF. Fresnel is just one example.
Questions?

More Related Content

What's hot

DD18 - SEED - Raytracing in Hybrid Real-Time Rendering
DD18 - SEED - Raytracing in Hybrid Real-Time RenderingDD18 - SEED - Raytracing in Hybrid Real-Time Rendering
DD18 - SEED - Raytracing in Hybrid Real-Time Rendering
Electronic Arts / DICE
 
Filmic Tonemapping for Real-time Rendering - Siggraph 2010 Color Course
Filmic Tonemapping for Real-time Rendering - Siggraph 2010 Color CourseFilmic Tonemapping for Real-time Rendering - Siggraph 2010 Color Course
Filmic Tonemapping for Real-time Rendering - Siggraph 2010 Color Course
hpduiker
 
Paris Master Class 2011 - 07 Dynamic Global Illumination
Paris Master Class 2011 - 07 Dynamic Global IlluminationParis Master Class 2011 - 07 Dynamic Global Illumination
Paris Master Class 2011 - 07 Dynamic Global Illumination
Wolfgang Engel
 
Global illumination
Global illuminationGlobal illumination
Global illumination
Dragan Okanovic
 
Hable John Uncharted2 Hdr Lighting
Hable John Uncharted2 Hdr LightingHable John Uncharted2 Hdr Lighting
Hable John Uncharted2 Hdr Lighting
ozlael ozlael
 
Moving Frostbite to Physically Based Rendering
Moving Frostbite to Physically Based RenderingMoving Frostbite to Physically Based Rendering
Moving Frostbite to Physically Based Rendering
Electronic Arts / DICE
 
Rendering Tech of Space Marine
Rendering Tech of Space MarineRendering Tech of Space Marine
Rendering Tech of Space Marine
Pope Kim
 
Mikhail Kyyashko "PBR (physically based rendering) for artists and programmers"
Mikhail Kyyashko "PBR (physically based rendering) for artists and programmers"Mikhail Kyyashko "PBR (physically based rendering) for artists and programmers"
Mikhail Kyyashko "PBR (physically based rendering) for artists and programmers"
Lviv Startup Club
 
Real-Time Global Illumination Techniques
Real-Time Global Illumination TechniquesReal-Time Global Illumination Techniques
Real-Time Global Illumination TechniquesJangho Lee
 
PR-302: NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis
PR-302: NeRF: Representing Scenes as Neural Radiance Fields for View SynthesisPR-302: NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis
PR-302: NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis
Hyeongmin Lee
 
Volumetric Lighting for Many Lights in Lords of the Fallen
Volumetric Lighting for Many Lights in Lords of the FallenVolumetric Lighting for Many Lights in Lords of the Fallen
Volumetric Lighting for Many Lights in Lords of the Fallen
Benjamin Glatzel
 
Progressive Lightmapper: An Introduction to Lightmapping in Unity
Progressive Lightmapper: An Introduction to Lightmapping in UnityProgressive Lightmapper: An Introduction to Lightmapping in Unity
Progressive Lightmapper: An Introduction to Lightmapping in Unity
Unity Technologies
 
A Bit More Deferred Cry Engine3
A Bit More Deferred   Cry Engine3A Bit More Deferred   Cry Engine3
A Bit More Deferred Cry Engine3guest11b095
 
Introduction to Monte Carlo Ray Tracing (CEDEC 2013)
Introduction to Monte Carlo Ray Tracing (CEDEC 2013)Introduction to Monte Carlo Ray Tracing (CEDEC 2013)
Introduction to Monte Carlo Ray Tracing (CEDEC 2013)Takahiro Harada
 
SIGGRAPH 2018 - Full Rays Ahead! From Raster to Real-Time Raytracing
SIGGRAPH 2018 - Full Rays Ahead! From Raster to Real-Time RaytracingSIGGRAPH 2018 - Full Rays Ahead! From Raster to Real-Time Raytracing
SIGGRAPH 2018 - Full Rays Ahead! From Raster to Real-Time Raytracing
Electronic Arts / DICE
 
3D Gaussian Splatting
3D Gaussian Splatting3D Gaussian Splatting
3D Gaussian Splatting
taeseon ryu
 
Lighting the City of Glass
Lighting the City of GlassLighting the City of Glass
Lighting the City of Glass
Electronic Arts / DICE
 
[0107 박민근] 쉽게 배우는 hdr과 톤맵핑
[0107 박민근] 쉽게 배우는 hdr과 톤맵핑[0107 박민근] 쉽게 배우는 hdr과 톤맵핑
[0107 박민근] 쉽게 배우는 hdr과 톤맵핑MinGeun Park
 
Physically Based Lighting in Unreal Engine 4
Physically Based Lighting in Unreal Engine 4Physically Based Lighting in Unreal Engine 4
Physically Based Lighting in Unreal Engine 4
Lukas Lang
 
[NDC17] 물리 기반 대기와 구름 만들기
[NDC17] 물리 기반 대기와 구름 만들기[NDC17] 물리 기반 대기와 구름 만들기
[NDC17] 물리 기반 대기와 구름 만들기
JinHwan Kim
 

What's hot (20)

DD18 - SEED - Raytracing in Hybrid Real-Time Rendering
DD18 - SEED - Raytracing in Hybrid Real-Time RenderingDD18 - SEED - Raytracing in Hybrid Real-Time Rendering
DD18 - SEED - Raytracing in Hybrid Real-Time Rendering
 
Filmic Tonemapping for Real-time Rendering - Siggraph 2010 Color Course
Filmic Tonemapping for Real-time Rendering - Siggraph 2010 Color CourseFilmic Tonemapping for Real-time Rendering - Siggraph 2010 Color Course
Filmic Tonemapping for Real-time Rendering - Siggraph 2010 Color Course
 
Paris Master Class 2011 - 07 Dynamic Global Illumination
Paris Master Class 2011 - 07 Dynamic Global IlluminationParis Master Class 2011 - 07 Dynamic Global Illumination
Paris Master Class 2011 - 07 Dynamic Global Illumination
 
Global illumination
Global illuminationGlobal illumination
Global illumination
 
Hable John Uncharted2 Hdr Lighting
Hable John Uncharted2 Hdr LightingHable John Uncharted2 Hdr Lighting
Hable John Uncharted2 Hdr Lighting
 
Moving Frostbite to Physically Based Rendering
Moving Frostbite to Physically Based RenderingMoving Frostbite to Physically Based Rendering
Moving Frostbite to Physically Based Rendering
 
Rendering Tech of Space Marine
Rendering Tech of Space MarineRendering Tech of Space Marine
Rendering Tech of Space Marine
 
Mikhail Kyyashko "PBR (physically based rendering) for artists and programmers"
Mikhail Kyyashko "PBR (physically based rendering) for artists and programmers"Mikhail Kyyashko "PBR (physically based rendering) for artists and programmers"
Mikhail Kyyashko "PBR (physically based rendering) for artists and programmers"
 
Real-Time Global Illumination Techniques
Real-Time Global Illumination TechniquesReal-Time Global Illumination Techniques
Real-Time Global Illumination Techniques
 
PR-302: NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis
PR-302: NeRF: Representing Scenes as Neural Radiance Fields for View SynthesisPR-302: NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis
PR-302: NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis
 
Volumetric Lighting for Many Lights in Lords of the Fallen
Volumetric Lighting for Many Lights in Lords of the FallenVolumetric Lighting for Many Lights in Lords of the Fallen
Volumetric Lighting for Many Lights in Lords of the Fallen
 
Progressive Lightmapper: An Introduction to Lightmapping in Unity
Progressive Lightmapper: An Introduction to Lightmapping in UnityProgressive Lightmapper: An Introduction to Lightmapping in Unity
Progressive Lightmapper: An Introduction to Lightmapping in Unity
 
A Bit More Deferred Cry Engine3
A Bit More Deferred   Cry Engine3A Bit More Deferred   Cry Engine3
A Bit More Deferred Cry Engine3
 
Introduction to Monte Carlo Ray Tracing (CEDEC 2013)
Introduction to Monte Carlo Ray Tracing (CEDEC 2013)Introduction to Monte Carlo Ray Tracing (CEDEC 2013)
Introduction to Monte Carlo Ray Tracing (CEDEC 2013)
 
SIGGRAPH 2018 - Full Rays Ahead! From Raster to Real-Time Raytracing
SIGGRAPH 2018 - Full Rays Ahead! From Raster to Real-Time RaytracingSIGGRAPH 2018 - Full Rays Ahead! From Raster to Real-Time Raytracing
SIGGRAPH 2018 - Full Rays Ahead! From Raster to Real-Time Raytracing
 
3D Gaussian Splatting
3D Gaussian Splatting3D Gaussian Splatting
3D Gaussian Splatting
 
Lighting the City of Glass
Lighting the City of GlassLighting the City of Glass
Lighting the City of Glass
 
[0107 박민근] 쉽게 배우는 hdr과 톤맵핑
[0107 박민근] 쉽게 배우는 hdr과 톤맵핑[0107 박민근] 쉽게 배우는 hdr과 톤맵핑
[0107 박민근] 쉽게 배우는 hdr과 톤맵핑
 
Physically Based Lighting in Unreal Engine 4
Physically Based Lighting in Unreal Engine 4Physically Based Lighting in Unreal Engine 4
Physically Based Lighting in Unreal Engine 4
 
[NDC17] 물리 기반 대기와 구름 만들기
[NDC17] 물리 기반 대기와 구름 만들기[NDC17] 물리 기반 대기와 구름 만들기
[NDC17] 물리 기반 대기와 구름 만들기
 

Viewers also liked

Introduction to Real Time Rendering
Introduction to Real Time RenderingIntroduction to Real Time Rendering
Introduction to Real Time Rendering
Koray Hagen
 
Physically Based Rendering by Gege
Physically Based Rendering by GegePhysically Based Rendering by Gege
Physically Based Rendering by GegeAgate Studio
 
Pitfalls of Object Oriented Programming by SONY
Pitfalls of Object Oriented Programming by SONYPitfalls of Object Oriented Programming by SONY
Pitfalls of Object Oriented Programming by SONY
Anaya Medias Swiss
 
UPnP 발표자료
UPnP 발표자료UPnP 발표자료
UPnP 발표자료
Vong Sik Kong
 
The TDD game that you never played
The TDD game that you never playedThe TDD game that you never played
The TDD game that you never played
Lior Israel
 
Portfolio 2012
Portfolio 2012Portfolio 2012
Portfolio 2012
gabriella kemeny
 
ผลกระทบเชิงลบ
ผลกระทบเชิงลบผลกระทบเชิงลบ
ผลกระทบเชิงลบKung Kaenchan
 
Cork EUDC 2016 Bid Document
Cork EUDC 2016 Bid DocumentCork EUDC 2016 Bid Document
Cork EUDC 2016 Bid Document
CorkEUDC
 
Making sense of injury data
Making sense of injury dataMaking sense of injury data
Making sense of injury data
bronwen_bg
 
2010 Shanghai Day1
2010 Shanghai Day12010 Shanghai Day1
2010 Shanghai Day1ten1985
 
Short v45
Short v45Short v45
Short v45
Valeriy Milykh
 
Misirlou. Novembre 2013
Misirlou. Novembre 2013Misirlou. Novembre 2013
Misirlou. Novembre 2013
Josep Lluís Villanueva Fontanella
 
สุขสันต์นะค่ะ
สุขสันต์นะค่ะสุขสันต์นะค่ะ
สุขสันต์นะค่ะ
Peemmawat Pramaulsin
 
Curs selecció de música per a la biblioteca pública. Desembre 2009
Curs selecció de música per a la biblioteca pública. Desembre 2009Curs selecció de música per a la biblioteca pública. Desembre 2009
Curs selecció de música per a la biblioteca pública. Desembre 2009
Josep Lluís Villanueva Fontanella
 
CW Content Works - Our Credentials.
CW Content Works - Our Credentials.CW Content Works - Our Credentials.
CW Content Works - Our Credentials.
cwmc37
 
2010 Shanghai Day5
2010 Shanghai Day52010 Shanghai Day5
2010 Shanghai Day5ten1985
 
Equity Crowdfunding in Australia
Equity Crowdfunding in AustraliaEquity Crowdfunding in Australia
Equity Crowdfunding in Australia
William Neill
 

Viewers also liked (20)

Introduction to Real Time Rendering
Introduction to Real Time RenderingIntroduction to Real Time Rendering
Introduction to Real Time Rendering
 
Physically Based Rendering by Gege
Physically Based Rendering by GegePhysically Based Rendering by Gege
Physically Based Rendering by Gege
 
poster_Reza
poster_Rezaposter_Reza
poster_Reza
 
Pitfalls of Object Oriented Programming by SONY
Pitfalls of Object Oriented Programming by SONYPitfalls of Object Oriented Programming by SONY
Pitfalls of Object Oriented Programming by SONY
 
UPnP 발표자료
UPnP 발표자료UPnP 발표자료
UPnP 발표자료
 
The TDD game that you never played
The TDD game that you never playedThe TDD game that you never played
The TDD game that you never played
 
Portfolio 2012
Portfolio 2012Portfolio 2012
Portfolio 2012
 
ผลกระทบเชิงลบ
ผลกระทบเชิงลบผลกระทบเชิงลบ
ผลกระทบเชิงลบ
 
Cork EUDC 2016 Bid Document
Cork EUDC 2016 Bid DocumentCork EUDC 2016 Bid Document
Cork EUDC 2016 Bid Document
 
Making sense of injury data
Making sense of injury dataMaking sense of injury data
Making sense of injury data
 
2010 Shanghai Day1
2010 Shanghai Day12010 Shanghai Day1
2010 Shanghai Day1
 
Short v45
Short v45Short v45
Short v45
 
Misirlou. Novembre 2013
Misirlou. Novembre 2013Misirlou. Novembre 2013
Misirlou. Novembre 2013
 
สุขสันต์นะค่ะ
สุขสันต์นะค่ะสุขสันต์นะค่ะ
สุขสันต์นะค่ะ
 
Curs selecció de música per a la biblioteca pública. Desembre 2009
Curs selecció de música per a la biblioteca pública. Desembre 2009Curs selecció de música per a la biblioteca pública. Desembre 2009
Curs selecció de música per a la biblioteca pública. Desembre 2009
 
CW Content Works - Our Credentials.
CW Content Works - Our Credentials.CW Content Works - Our Credentials.
CW Content Works - Our Credentials.
 
The farewell-haj
The farewell-hajThe farewell-haj
The farewell-haj
 
2010 Shanghai Day5
2010 Shanghai Day52010 Shanghai Day5
2010 Shanghai Day5
 
Message of prophet english
Message of prophet englishMessage of prophet english
Message of prophet english
 
Equity Crowdfunding in Australia
Equity Crowdfunding in AustraliaEquity Crowdfunding in Australia
Equity Crowdfunding in Australia
 

Similar to Physically Based Rendering

Reflection-refraction.ppt
Reflection-refraction.pptReflection-refraction.ppt
Reflection-refraction.ppt
HaifaChaoshinAli
 
Reflection-refraction.ppt
Reflection-refraction.pptReflection-refraction.ppt
Reflection-refraction.ppt
simonckt1
 
Optics mirrors & lenses
Optics mirrors & lensesOptics mirrors & lenses
Optics mirrors & lenses
Shamim Ahmed
 
Basics and history of geometrical optics
Basics and history of geometrical opticsBasics and history of geometrical optics
Basics and history of geometrical optics
LABISHETTY CHARAN
 
Optics and Laser (1).pptx physics notess
Optics and Laser (1).pptx physics notessOptics and Laser (1).pptx physics notess
Optics and Laser (1).pptx physics notess
ShahnailMemon
 
Light website
Light websiteLight website
Light websitestephm32
 
Polarization 1, polarization of light, physical optics
Polarization 1, polarization of light, physical opticsPolarization 1, polarization of light, physical optics
Polarization 1, polarization of light, physical optics
Sumaira ghafoor
 
Presentation on lights [ physics ]
Presentation on lights [ physics ]Presentation on lights [ physics ]
Presentation on lights [ physics ]
Touhidul Shawan
 
Physics Light.pptx
Physics Light.pptxPhysics Light.pptx
Physics Light.pptx
Ana Maria Montaño
 
Reflection power point
Reflection power pointReflection power point
Reflection power pointKatlinSapp
 
Light and it's properties-1 copy.pptx
Light and it's properties-1 copy.pptxLight and it's properties-1 copy.pptx
Light and it's properties-1 copy.pptx
shamsudheenpp1
 
Physical Optics 01 INtro.pptx
Physical Optics 01 INtro.pptxPhysical Optics 01 INtro.pptx
Physical Optics 01 INtro.pptx
Samuel Shirley
 
Presentation on lights [ gamma team ]
Presentation on lights [ gamma team ]Presentation on lights [ gamma team ]
Presentation on lights [ gamma team ]
Touhidul Shaon
 
Photon Concept of Light.pptx
Photon Concept of Light.pptxPhoton Concept of Light.pptx
Photon Concept of Light.pptx
RenmarieLabor
 
Photon Concept of Light (Grade 12 ).pptx
Photon Concept of Light (Grade 12 ).pptxPhoton Concept of Light (Grade 12 ).pptx
Photon Concept of Light (Grade 12 ).pptx
RenmarieLabor
 
LIGHT.pptx
LIGHT.pptxLIGHT.pptx
LIGHT.pptx
GretchenJavier1
 
Polarization.pptx
Polarization.pptxPolarization.pptx
Polarization.pptx
TejaswiniMohalkar
 
fdocuments.net_lecture-on-numerical-problems-in-optics.ppt
fdocuments.net_lecture-on-numerical-problems-in-optics.pptfdocuments.net_lecture-on-numerical-problems-in-optics.ppt
fdocuments.net_lecture-on-numerical-problems-in-optics.ppt
PedramMaghsoudi4
 

Similar to Physically Based Rendering (20)

Reflection-refraction.ppt
Reflection-refraction.pptReflection-refraction.ppt
Reflection-refraction.ppt
 
Reflection-refraction.ppt
Reflection-refraction.pptReflection-refraction.ppt
Reflection-refraction.ppt
 
Ch7 light(1)
Ch7 light(1)Ch7 light(1)
Ch7 light(1)
 
Optics mirrors & lenses
Optics mirrors & lensesOptics mirrors & lenses
Optics mirrors & lenses
 
Basics and history of geometrical optics
Basics and history of geometrical opticsBasics and history of geometrical optics
Basics and history of geometrical optics
 
Optics and Laser (1).pptx physics notess
Optics and Laser (1).pptx physics notessOptics and Laser (1).pptx physics notess
Optics and Laser (1).pptx physics notess
 
Light website
Light websiteLight website
Light website
 
Polarization 1, polarization of light, physical optics
Polarization 1, polarization of light, physical opticsPolarization 1, polarization of light, physical optics
Polarization 1, polarization of light, physical optics
 
Presentation on lights [ physics ]
Presentation on lights [ physics ]Presentation on lights [ physics ]
Presentation on lights [ physics ]
 
Physics Light.pptx
Physics Light.pptxPhysics Light.pptx
Physics Light.pptx
 
Reflection power point
Reflection power pointReflection power point
Reflection power point
 
Light and it's properties-1 copy.pptx
Light and it's properties-1 copy.pptxLight and it's properties-1 copy.pptx
Light and it's properties-1 copy.pptx
 
Physical Optics 01 INtro.pptx
Physical Optics 01 INtro.pptxPhysical Optics 01 INtro.pptx
Physical Optics 01 INtro.pptx
 
Presentation on lights [ gamma team ]
Presentation on lights [ gamma team ]Presentation on lights [ gamma team ]
Presentation on lights [ gamma team ]
 
Photon Concept of Light.pptx
Photon Concept of Light.pptxPhoton Concept of Light.pptx
Photon Concept of Light.pptx
 
Photon Concept of Light (Grade 12 ).pptx
Photon Concept of Light (Grade 12 ).pptxPhoton Concept of Light (Grade 12 ).pptx
Photon Concept of Light (Grade 12 ).pptx
 
Polarization
PolarizationPolarization
Polarization
 
LIGHT.pptx
LIGHT.pptxLIGHT.pptx
LIGHT.pptx
 
Polarization.pptx
Polarization.pptxPolarization.pptx
Polarization.pptx
 
fdocuments.net_lecture-on-numerical-problems-in-optics.ppt
fdocuments.net_lecture-on-numerical-problems-in-optics.pptfdocuments.net_lecture-on-numerical-problems-in-optics.ppt
fdocuments.net_lecture-on-numerical-problems-in-optics.ppt
 

Recently uploaded

Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Globus
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
Donna Lenk
 
RISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent EnterpriseRISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent Enterprise
Srikant77
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Shahin Sheidaei
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus
 
Graphic Design Crash Course for beginners
Graphic Design Crash Course for beginnersGraphic Design Crash Course for beginners
Graphic Design Crash Course for beginners
e20449
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
takuyayamamoto1800
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
Globus
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Globus
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
Globus
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
Georgi Kodinov
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
abdulrafaychaudhry
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
NYGGS Automation Suite
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
informapgpstrackings
 
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdfEnhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Jay Das
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 

Recently uploaded (20)

Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
 
RISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent EnterpriseRISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent Enterprise
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
 
Graphic Design Crash Course for beginners
Graphic Design Crash Course for beginnersGraphic Design Crash Course for beginners
Graphic Design Crash Course for beginners
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
 
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdfEnhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 

Physically Based Rendering

  • 2. The agenda • Lighting and shading models with live demonstration • Theoretical basis for PBR with live demonstration • Q & A
  • 3. Reality and simulation Three thousand years of research
  • 4. A brief history • 4th century B.C. – Ancient Greeks incorrectly believe vision involves emanations from the eye to the object perceived.
  • 5. A brief history • 4th century B.C. – Ancient Greeks incorrectly believe vision involves emanations from the eye to the object perceived. – Euclid successfully describes the law of reflection using geometry.
  • 6. A brief history • 17th century A.D. – Kepler, Snell, Fermat, and Descartes contribute to the law of refraction.
  • 7. A brief history • 17th century A.D. – Kepler, Snell, Fermat, and Descartes contribute to the law of refraction. – Newton observes dispersion,proving light is composed of component colors.
  • 8. A brief history • 19th century A.D. – Fresnel discovers the laws that enable the intensity and polarization of reflected and refracted light to be calculated.
  • 9. A brief history • 19th century A.D. – Fresnel discovers the laws that enable the intensity and polarization of reflected and refracted light to be calculated. – Maxwell summarizes and extends all current empirical knowledge of optics and electromagnetism with a single set of equations.
  • 10. A brief history • 19th century A.D. – Fresnel discovers the laws that enable the intensity and polarization of reflected and refracted light to be calculated. – Maxwell summarizes and extends all current empirical knowledge of optics and electromagnetism with a single set of equations. – Hertz discovers the photoelectric effect.
  • 11. A brief history • 20th century A.D. – Planck discovers a universalconstant explainingthe relationship between the energy and frequency of an electromagnetic wave.
  • 12. A brief history • 20th century A.D. – Planck discovers a universalconstant explainingthe relationship between the energy and frequency of an electromagnetic wave. – Einstein explains the photoelectric effect based on streams of quantized energy packets.
  • 13. A brief history • 20th century A.D. – Planck discovers a universalconstant explainingthe relationship between the energy and frequency of an electromagnetic wave. – Einstein explains the photoelectric effect based on streams of quantized energy packets. – Feynman makes large contributions to quantum field theory and quantum electrodynamics.
  • 14. A brief history • 21st century A.D. – Jet Propulsion Laboratoryhires PhD graduateJim Blinn to work on computer graphics research and simulations for various space missions.
  • 15. A brief history • 21st century A.D. – Jet Propulsion Laboratoryhires PhD graduateJim Blinn to work on computer graphics research and simulations for various space missions. – These incredible visualizations were shown all over the world.
  • 16. Our journey to physicallybased rendering begins here.
  • 17.
  • 18. Lighting and shading models Research prior to physicallybased rendering
  • 20. What is physically-based rendering? • “Many things” and “it depends”
  • 21. What is physically-based rendering? • “Many things” and “it depends” • Must observe how it differs from other older rendering methods.
  • 22. What is physically-based rendering? • “Many things” and “it depends” • Must observe how it differs from other older rendering methods. • What makes PBR different is in how we reason about the behavior of light and surfaces in computer graphics.
  • 23. What is physically-based rendering? • “Many things” and “it depends” • Must observe how it differs from other older rendering methods. • What makes PBR different is in how we reason about the behavior of light and surfaces in computer graphics. • By modeling physical phenomena rather than approximating observation, we can achieve more mathematically stable and photorealistic visual fidelity.
  • 24. Some terminology • Lighting model – the behavior of interactions between materials and light sources. Normally attributed to be a topic in physics.
  • 25. Some terminology • Lighting model – the behavior of interactions between materials and light sources. Normally attributed to be a topic in physics. • Shading model – the process of determining the color of a pixel. Normally attributed to be a topic in computer graphics.
  • 26. Some terminology • Diffusion and reflection – also known as diffuse and specular reflection.
  • 27. Some terminology • Diffusion and reflection – also known as diffuse and specular reflection. – Describe the most basic separation of light and surface interactions.
  • 28. Some terminology • Diffusion and reflection – also known as diffuse and specular reflection. – Describe the most basic separation of light and surface interactions. – Specular reflection is the behavior of light hitting a surfaceboundaryand perfectly reflecting off of it, much like how a mirror would behave.
  • 29. Some terminology • Diffusion and reflection – also known as diffuse and specular reflection. – Describe the most basic separation of light and surface interactions. – Specular reflection is the behavior of light hitting a surfaceboundaryand perfectly reflecting off of it, much like how a mirror would behave.. – Diffusion occurs when not all light reflects from the surface. Some will penetrate into the interior of the illuminated object. There it will either be absorbed by the material (usuallyconverting to heat) or scattered internally.
  • 30. Some terminology • Diffusion and reflection – also known as diffuse and specular reflection. – Describe the most basic separation of light and surface interactions. – Specular reflection is the behavior of light hitting a surfaceboundaryand perfectly reflecting off of it, much like how a mirror would behave.. – Diffusion occurs when not all light reflects from the surface. Some will penetrate into the interior of the illuminated object. There it will either be absorbed by the material (usuallyconverting to heat) or scattered internally. • The absorption and scattering of diffuselight are often quite different for different wavelengths of light, which is what gives objects their color (e.g. if an object absorbs most light but scatters blue, it will appear blue).
  • 31. How was light modeled in 1977?
  • 32. Blinn-Phong Shading Model • Every surfaceis made of some material and each material reflects light differently.
  • 33. Blinn-Phong Shading Model • Every surfaceis made of some material and each material reflects light differently. – Think of how metal objects are shiny and wooden objects are matte. We need to have a way to specify material parameters that can control how a surfacereflects light.
  • 34. Blinn-Phong Shading Model • Every surfaceis made of some material and each material reflects light differently. – Think of how metal objects are shiny and wooden objects are matte. We need to have a way to specify material parameters that can control how a surfacereflects light. • Every surfacecan then be approximated with three reflectivity constants, and they control the intensity of the various reflections. – 𝐾 𝑎 ambient reflectivity – 𝐾𝑠 specular reflectivity – 𝐾 𝑑 diffusereflectivity – 𝑎 specular highlighting
  • 35. Blinn-Phong Shading Model • By sampling relevant spatial information from a three dimensional scene, the light intensity at point 𝑃 can be calculated.
  • 36. Blinn-Phong Shading Model • By sampling relevant spatial information from a three dimensional scene, the light intensity at point 𝑃 can be calculated. – The normalvector 𝑁 to the surface – The light vector 𝐿 from the surface – The view vector 𝑉
  • 37. Blinn-Phong Shading Model • By sampling relevant spatial information from a three dimensional scene, the light intensity at point 𝑃 can be calculated. – The normalvector 𝑁 to the surface – The light vector 𝐿 from the surface – The view vector 𝑉 • Lambert’s Law states that the diffusion at a point is proportional to the cosine of the angle between the incoming light ray 𝐿 and the normal of the surface 𝑉.
  • 38. Blinn-Phong Shading Model • Diffusion value Ld derived from Lambert’s Law – Ld = Kd * dot(N, L) * light source intensity • Specular reflection value Ls – Phong: Ls = Ks * exp(dot(R, V), a) * light source intensity – Blinn: Ls = Ks * exp(dot(N, H), a) * light source intensity • Ambient light value La – La = Ka * ambient light intensity
  • 39. Blinn-Phong Shading Model • Diffusion value Ld derived from Lambert’s Law – Ld = Kd * dot(N, L) * light source intensity • Specular reflection value Ls – Phong: Ls = Ks * exp(dot(R, V), a) * light source intensity – Blinn: Ls = Ks * exp(dot(N, H), a) * light source intensity • Ambient light value 𝐿 𝑎 – 𝐿 𝑎 = 𝐾𝑎 ∙ 𝑎𝑚𝑏𝑖𝑒𝑛𝑡 𝑙𝑖𝑔ℎ𝑡 𝑖𝑛𝑡𝑒𝑛𝑠𝑖𝑡𝑦 • Light intensity at a pixel equals the sum of 𝐿 𝑎 + 𝐿 𝑠 + 𝐿 𝑑 • shadertoy example
  • 40. Blinn-Phong is far from perfect • Does not respect conversation of energy. As specular power is increased, more energy is lost from the system.
  • 41. Blinn-Phong is far from perfect • Does not respect conversation of energy. As specular power is increased, more energy is lost from the system. • Isn’t expressive enough to simulate more complex materials due to crude approximations of diffusion and reflective properties.
  • 42. Blinn-Phong is far from perfect • Does not respect conversation of energy. As specular power is increased, more energy is lost from the system. • Isn’t expressive enough to simulate more complex materials due to crude approximations of diffusion and reflective properties. • Ambient lighting completely ignores diffusion properties of environment.
  • 43. Blinn-Phong is far from perfect • Does not respect conversation of energy. As specular power is increased, more energy is lost from the system. • Isn’t expressive enough to simulate more complex materials due to crude approximations of diffusion and reflective properties. • Ambient lighting completely ignores diffusion properties of environment. • Terrible workflow for artists, due to final visuals being dependent on physically incorrect “tweaks” on both lighting and art assets. Errors or discrepancies in lighting can propagate to other assets.
  • 44. Physically-based rendering A modern responseto archaic problems
  • 45. Bidirectional Reflectance Distribution Function • A function that describes the reflectance properties of a surface. In computer graphics, there are different BRDF models some of which are not physically plausible.
  • 46. Bidirectional Reflectance Distribution Function • A function that describes the reflectance properties of a surface. In computer graphics, there are different BRDF models some of which are not physically plausible. • For a BRDF to be physicallyplausible, it must be energy conserving and exhibit reciprocity.
  • 47. Bidirectional Reflectance Distribution Function • A function that describes the reflectance properties of a surface. In computer graphics, there are different BRDF models some of which are not physically plausible. • For a BRDF to be physicallyplausible, it must be energy conserving and exhibit reciprocity. • Energy conservation states that the total amount of light re-emitted by a surface (reflected and scattered back) is less than the total amount it received.
  • 48. Microfacet theory • Both diffuse and specular reflection are dependent on surfaceirregularities.
  • 49. Microfacet theory • Both diffuse and specular reflection are dependent on surfaceirregularities. • In practice, the effect of surface roughness on diffuse reflection is much less prominent because of scattering happening inside the material.
  • 50. Microfacet theory • Both diffuse and specular reflection are dependent on surfaceirregularities. • In practice, the effect of surface roughness on diffuse reflection is much less prominent because of scattering happening inside the material. – As a result, outgoing reflected light rays are fairly independentof surfaceroughness and incident direction. The previous Lambertian model completely ignores this.
  • 51. Microfacet theory • An example microfacetbased specular BRDF would be Cook-Torrance: – 𝑓(𝑙, 𝑣) 𝑚𝑖𝑐𝑟𝑜𝑓𝑎𝑐𝑒𝑡 = 𝐷 ℎ 𝐹 𝑣,ℎ 𝐺 𝑙,𝑣,ℎ 4 𝑛∙𝑙 (𝑛∙𝑣)
  • 52. Microfacet theory • An example microfacetbased specular BRDF would be Cook-Torrance: – 𝑓(𝑙, 𝑣) 𝑚𝑖𝑐𝑟𝑜𝑓𝑎𝑐𝑒𝑡 = 𝐷 ℎ 𝐹 𝑣,ℎ 𝐺 𝑙,𝑣,ℎ 4 𝑛∙𝑙 (𝑛∙𝑣) • Where: – 𝑓 𝑚𝑖𝑐𝑟𝑜𝑓𝑎𝑐𝑒𝑡 is the reflectance at normal incident – 𝐹 is the Fresnel reflectance term – 𝐺 is the geometry term – 𝐷 ℎ is the normal distribution term describing how the microfacet normal are distributed – 𝑙 is the light direction – 𝑣 is the view direction – 𝑛 is the surface normal – ℎ is the half vector between l and v
  • 53. Microfacet theory • An example microfacetbased specular BRDF would be Cook-Torrance: – 𝑓(𝑙, 𝑣) 𝑚𝑖𝑐𝑟𝑜𝑓𝑎𝑐𝑒𝑡 = 𝐷 ℎ 𝐹 𝑣,ℎ 𝐺 𝑙,𝑣,ℎ 4 𝑛∙𝑙 (𝑛∙𝑣) • Where: – 𝑓 𝑚𝑖𝑐𝑟𝑜𝑓𝑎𝑐𝑒𝑡 is the reflectance at normal incident – 𝐹 is the Fresnel reflectance term – 𝐺 is the geometry term – 𝐷 ℎ is the normal distribution term describing how the microfacet normal are distributed – 𝑙 is the light direction – 𝑣 is the view direction – 𝑛 is the surface normal – ℎ is the half vector between l and v • The goal is to analytically solve the BRDF.
  • 54. Microfacet theory • An example microfacetbased specular BRDF would be Cook-Torrance: – 𝑓(𝑙, 𝑣) 𝑚𝑖𝑐𝑟𝑜𝑓𝑎𝑐𝑒𝑡 = 𝐷 ℎ 𝐹 𝑣,ℎ 𝐺 𝑙,𝑣,ℎ 4 𝑛∙𝑙 (𝑛∙𝑣) • Where: – 𝑓 𝑚𝑖𝑐𝑟𝑜𝑓𝑎𝑐𝑒𝑡 is the reflectance at normal incident – 𝐹 is the Fresnel reflectance term – 𝐺 is the geometry term – 𝐷 ℎ is the normal distribution term describing how the microfacet normal are distributed – 𝑙 is the light direction – 𝑣 is the view direction – 𝑛 is the surface normal – ℎ is the half vector between l and v • Let’s look at what it would take to solve one of the terms.
  • 55. Fresnel Effect • The amount of light you see reflected from a surface depends on the viewing angle at which you perceive it.
  • 56. Fresnel Effect • The amount of light you see reflected from a surface depends on the viewing angle at which you perceive it. • None: 𝐹𝑛𝑜𝑛𝑒 𝑣, ℎ = 𝐹0 • Schlick: 𝐹𝑆𝑐ℎ𝑙𝑖𝑐𝑘 𝑣, ℎ = 𝐹0 + 1 − 𝐹0 (1 − 𝑣 ∙ ℎ )5 • Torrance: 𝐹𝐶𝑜𝑜𝑘−𝑇𝑜𝑟𝑟𝑎𝑛𝑐𝑒 = too long to even write …
  • 57. Fresnel Effect • The amount of light you see reflected from a surface depends on the viewing angle at which you perceive it. • None: 𝐹𝑛𝑜𝑛𝑒 𝑣, ℎ = 𝐹0 • Schlick: 𝐹𝑆𝑐ℎ𝑙𝑖𝑐𝑘 𝑣, ℎ = 𝐹0 + 1 − 𝐹0 (1 − 𝑣 ∙ ℎ )5 • Torrance: 𝐹𝐶𝑜𝑜𝑘−𝑇𝑜𝑟𝑟𝑎𝑛𝑐𝑒 = too long to even write … • Consequently, Schlick’s Approximation has become quite popular in real time graphics due to it’s low computational cost.
  • 58. Conclusion • Energy conservation is handled by the shader. A reflected ray is never brighter than the value it had when it first hit the surface. • The BRDF is handled by the shader. No more magic lighting values, and properties exposed to artists are based in physical reality. • Naturally will trend to better visual fidelity and photorealism do due basis is physical phenomena. • Large opportunities in numerical analysis to create performant solutions for solving the needed terms in the BRDF. Fresnel is just one example.