Here I ll present a brief summary of the important aspects and then dive into improvements we made on Black Ops II.

Similar documents
Illumination. Illumination CMSC 435/634

Advanced d Computer Graphics CS 563: Real Time Ocean Rendering

Physically Based Shading in Unity. Aras Pranckevičius Rendering Dude

Property of: Entrada Interactive. PBR Workflow. Working within a PBR-based environment

Point based global illumination is now a standard tool for film quality renderers. Since it started out as a real time technique it is only natural

Wednesday, July 24, 13

Lighting Killzone : Shadow Fall

Background: Physics and Math of Shading

BRDF Computer Graphics (Spring 2008)

Ray Tracing: shading

Shading / Light. Thanks to Srinivas Narasimhan, Langer-Zucker, Henrik Wann Jensen, Ravi Ramamoorthi, Hanrahan, Preetham

Introduction to 3D Concepts

Computer Graphics. Illumination and Shading

Chapter 1 Introduction. Marc Olano

Shading, lighting, & BRDF Theory. Cliff Lindsay, PHD

Today. Global illumination. Shading. Interactive applications. Rendering pipeline. Computergrafik. Shading Introduction Local shading models

Game Technology. Lecture Physically Based Rendering. Dipl-Inform. Robert Konrad Polona Caserman, M.Sc.

Complex Shading Algorithms

Lighting and Materials

Surface Reflection Models

Extending the Disney BRDF to a BSDF with Integrated Subsurface Scattering. Brent Burley Walt Disney Animation Studios

Radiance. Radiance properties. Radiance properties. Computer Graphics (Fall 2008)

Today. Global illumination. Shading. Interactive applications. Rendering pipeline. Computergrafik. Shading Introduction Local shading models

Computergrafik. Matthias Zwicker Universität Bern Herbst 2016

The Rendering Equation. Computer Graphics CMU /15-662

Radiometry & BRDFs CS295, Spring 2017 Shuang Zhao

Computer Graphics (CS 543) Lecture 10: Normal Maps, Parametrization, Tone Mapping

Overview. Radiometry and Photometry. Foundations of Computer Graphics (Spring 2012)

Project 3 Path Tracing

Spherical Harmonic Lighting: The Gritty Details Robin Green

CMSC427 Shading Intro. Credit: slides from Dr. Zwicker

Canonical Shaders for Optimal Performance. Sébastien Dominé Manager of Developer Technology Tools

Chapter 17: The Truth about Normals

Antialiasing Physically Based Shading with LEADR Mapping

Lighting affects appearance

Light Reflection Models

Global Illumination CS334. Daniel G. Aliaga Department of Computer Science Purdue University

Sources, shadows and shading

Lecture 4: Reflection Models

Due to time constraints, I will be brief. You can check the slides for more details later.

CMSC427 Advanced shading getting global illumination by local methods. Credit: slides Prof. Zwicker

Rendering Light Reflection Models

Other approaches to obtaining 3D structure

Lecture 7 - Path Tracing

02 Shading and Frames. Steve Marschner CS5625 Spring 2016

Lighting and Shading. Slides: Tamar Shinar, Victor Zordon

CS 5625 Lec 2: Shading Models

LEVEL 1 ANIMATION ACADEMY2010

Life on the Bleeding Edge: More Secrets of the NVIDIA Demo Team Eugene d Eon NVIDIA Corporation.

Timothy Walsh. Reflection Models

Shading 1: basics Christian Miller CS Fall 2011

INFOGR Computer Graphics. J. Bikker - April-July Lecture 10: Ground Truth. Welcome!

CS 325 Computer Graphics

of the NVIDIA Demo Team Eugene d Eon 2008 NVIDIA Corporation.

Simple Lighting/Illumination Models

The Making of Seemore WebGL. Will Eastcott, CEO, PlayCanvas

Introduction. Chapter Computer Graphics

RND102 - Intro to Path Tracing & RIS in RenderMan

OpenGl Pipeline. triangles, lines, points, images. Per-vertex ops. Primitive assembly. Texturing. Rasterization. Per-fragment ops.

CSE 167: Introduction to Computer Graphics Lecture #6: Lights. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2016

Shading & Material Appearance

Lecture 17: Recursive Ray Tracing. Where is the way where light dwelleth? Job 38:19

Topics and things to know about them:

GUERRILLA DEVELOP CONFERENCE JULY 07 BRIGHTON

Path Tracing part 2. Steve Rotenberg CSE168: Rendering Algorithms UCSD, Spring 2017

SAMPLING AND NOISE. Increasing the number of samples per pixel gives an anti-aliased image which better represents the actual scene.

Ambien Occlusion. Lighting: Ambient Light Sources. Lighting: Ambient Light Sources. Summary

Soft shadows. Steve Marschner Cornell University CS 569 Spring 2008, 21 February

Illumination & Shading: Part 1

Shading. Brian Curless CSE 557 Autumn 2017

Mahdi M. Bagher / Cyril Soler / Nicolas Holzschuch Maverick, INRIA Grenoble-Rhône-Alpes and LJK (University of Grenoble and CNRS)

Visual cues to 3D geometry. Light Reflection and Advanced Shading. Shading. Recognizing materials. size (perspective) occlusion shading

COMPUTER GRAPHICS - MIDTERM 1

CSE 167: Lecture #7: Color and Shading. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011

Precomputed Radiance Transfer: Theory and Practice

Rendering Algorithms: Real-time indirect illumination. Spring 2010 Matthias Zwicker

Rendering Light Reflection Models

Lighting. To do. Course Outline. This Lecture. Continue to work on ray programming assignment Start thinking about final project

4) Finish the spline here. To complete the spline, double click the last point or select the spline tool again.

Radiometry and reflectance

Image Based Lighting with Near Light Sources

Image Based Lighting with Near Light Sources

Reflection models and radiometry Advanced Graphics

Recollection. Models Pixels. Model transformation Viewport transformation Clipping Rasterization Texturing + Lights & shadows

Orthogonal Projection Matrices. Angel and Shreiner: Interactive Computer Graphics 7E Addison-Wesley 2015

CSE 681 Illumination and Phong Shading

CPSC 314 LIGHTING AND SHADING

Nonphotorealism. Christian Miller CS Fall 2011

Capturing light. Source: A. Efros

MIT Monte-Carlo Ray Tracing. MIT EECS 6.837, Cutler and Durand 1

CS-184: Computer Graphics. Today

#Short presentation of the guys

After the release of Maxwell in September last year, a number of press articles appeared that describe VXGI simply as a technology to improve

TDA361/DIT220 Computer Graphics, January 15 th 2016

Lecture 10: Shading Languages. Kayvon Fatahalian CMU : Graphics and Imaging Architectures (Fall 2011)

Schedule. MIT Monte-Carlo Ray Tracing. Radiosity. Review of last week? Limitations of radiosity. Radiosity

Monte-Carlo Ray Tracing. Antialiasing & integration. Global illumination. Why integration? Domains of integration. What else can we integrate?

Screen Space Ambient Occlusion. Daniel Kvarfordt & Benjamin Lillandt

Overview. Hierarchy. Level of detail hierarchy Texture maps Procedural shading and texturing Texture synthesis and noise.

Local vs. Global Illumination & Radiosity

Transcription:

We started pursuing Physically Based Shading during Black Ops, details of which I presented at SIGGRAPH 2011, as part of the Advances in Real-Time Rendering course. Here I ll present a brief summary of the important aspects and then dive into improvements we made on Black Ops II. 1

2

D = normal distribution function (NDF) F = reflectance function (Fresnel function) G = shadowing-masking function (Geometry function) Grouped into three lego pieces for easier experimentation with different formulations and approximations. D_pl = NDF for point lights grouped with pi/4. V = visibility function: shadowing-masking grouped with foreshortening terms. 3

4

Microfacet H-dot-L-based formulation. Everyone seems to use this. 5

Schlick-Smith gave the most plausible (albeit the most expensive) specular response. Lesson learned: very important to have high quality shadow-masking for PBS. 6

Switching gears: indirect specular via environment maps. We capture environment maps at artist-selected locations in the level. We wanted to use as few and as high resolution environment maps as possible. We came up with a method that lets us better fit and hence reuse the same environment map in very different lighting environments compared to where the environment map was captured. 7

env_sh[0] is the DC term, which is equivalent to evaluating the SH with a (0, 0, 0) direction. pixel_average_irradiance can usually be calculated as a cheap byproduct from most forms of light baking. 8

9

Here we re using the N-dot-V form of the Fresnel formulation. 1/(4 3g) acts as a shadowing-masking factor 10

11

The picture shows conceptually the problem through the use of colors. In practice, the problems were mostly intensity related and less often about color. The environment map is normalized from a light probe sample (full sphere of lighting information). However, lightmap bakes often store only a hemisphere worth of information, hence when we de-normalize the environment map we can t compensate for the missing hemisphere. 12

13

pixel_irradiance can usually be calculated as a cheap byproduct of most forms of light baking. It s virtually guaranteed to exist considering geometric normal irradiance is the most important direction to reproduce correctly. 14

The same mesh with three different light bakes. The image shows environment specular, boosted 3 stops for easier comparison. 15

Notice how the specular from the different light bakes is a lot closer now. 16

The Black Ops pre-filtering used a Gaussian, which was not an exact match to our cosine power distribution function. 17

18

Notice how the environment map blurs much more linearly across the gloss range. Also notice how the environment blur is a closer match to the sun hotspot diffusion. 19

Before we talk about how we improved the Environment BRDF, let s talk about what we re trying to solve first. One option for solving this integral is to importance sample the environment map and the BRDF in the pixel shader. This is very expensive, but it s a good ground truth. Note that the environment NDF has a division by pi, as opposed to the point-light NDF which does not. 20

Environment BRDF: conceptually you can think of it as the BRDF result for a white environment map. 21

22

On the x-axis we plot N-dot-V, where rf0 is to the right, glancing angles are to the left. 23

We fitted curves by trial and error, using Mathematica to guide the process. 24

We deployed the cheaper curves, with good visual results. However, we needed even cheaper expressions. 25

26

27

This is what we shipped with. It was actually faster than the Black Ops Environment Fresnel. 28

29

Notice the much more natural looking specular on the shadowed side of the truck. The car paint is a dielectric material (non-metallic paint). 30

31

32

33

Note: this is to approximate the (1 H-dot-L)^5 part of Schlick s Fresnel function. 34

35