Архитектура Аудит Военная наука Иностранные языки Медицина Металлургия Метрология
Образование Политология Производство Психология Стандартизация Технологии


Terms and Services of Use



Please refrain from copying and pasting elsewhere as I am compiling it and would like to ensure the accuracy of the document before sharing everywhere. If there is anything that is incorrect, needs adjusting, or you would like to add to the bible, please email me with the information and

source/credit and I will add it to the corresponding category. As well, if you must post this somewhere, please give credit where and when it is due. 

 

[NEW] Update Notes

This section will be used for now to outline what has been updated and when, that way readers of this doc will not have to wonder what was added.

 

● December 19, 2017

○ Added a little blurb “Advances in Technology” Under the How-to section

○ Updated FAQ section

○ Added new section “Notable Artists”

● May 17, 2016

○ Granted Sergei Karmalsky of 4A Games access to contribute

● June 11, 2015

○ add some links to additional readings and updated FAQ to address lack of complex theory/math & equations on PBR

 

Table of Contents (WIP)

Light Interaction & Really Sciency Stuff

PBR: The Definition & More

Guidelines & Basics: The How-To Guide

Material Reference Values

Tips & Techniques

Examples

Additional Readings & References

FAQ

Glossary & Terms

Tools & Programs

 

Light Interaction & Really Sciencey Stuff

I won’t be going through or compiling scientific formulas on how light is perceived and bounces off X material, etc. There are many other sites for that online. Instead I’ll just be compiling some basic rules of how light interactions with types of materials. This will offer a better understanding when texturing in order to achieve more realistic results!

 

 

Diffuse and Specular Reflectance ( source )

When light hits a surface, it splits into two directions: some part of it is reflected immediately while the rest gets refracted and enters the surface. The refracted light can be absorbed or can be scattered around underneath the surface and exit again at a slightly different location.

 

Light that gets reflected directly from the surface is handled as specular reflectance in a shading model. The light that is refracted and undergoes subsurface scattering is handled as diffuse reflectance.

 

The amount of light that is reflected versus refracted depends on the surface substance and the angle at which the light hits the surface. At a grazing angle, the amount of light that gets reflected directly (specular) gets higher, until it reaches 100% at an extreme angle. This behavior is described by the Fresnel effect.

 

 

Material Types ( source )

There are only two categories of substances which are relevant for rendering: metals (conductors like iron, gold, copper, etc.) and non-metals (dielectric materials like plastic, stone, wood, skin, glass, etc.). Both have special characteristics regarding diffuse and specular reflectance.

 

Metal has no diffuse reflection. This means that metal should have a black diffuse color. All visible light is reflected directly from the surface (specular reflectance). The different types of metal have characteristic specular colors.

 

Metal actually neither refracts nor absorbs ANY light, metals are so dense that light can't actually enter the surface, which is why all of the light is reflected. ( source )

 

In contrast to metal, non-metal has diffuse reflection, however the specular reflection is a lot weaker and less varied than for metal. Specular reflectance for non-metal is monochromatic (no color, just gray). Most non-metals reflect only a small fraction of the light as specular, for most materials between 2% and 5%.

 

Energy Conservation ( source )

Reflection and diffusion are mutually exclusive. This is because, in order for light to be diffused, light must first penetrate the surface (that is, fail to reflect). This is known in shading parlance as an example of “energy conservation”, which just means that the light leaving a surface is never any brighter than that which fell upon it originally.

This is easy to enforce in a shading system: one simply subtracts reflected light before allowing the diffuse shading to occur. This means highly reflective objects will show little to no diffuse light, simply because little to no light penetrates the surface, having been mostly reflected. The converse is also true: if an object has bright diffusion, it cannot be especially reflective.

Energy conservation of this sort is an important aspect of physically-based shading. It allows the artist to work with reflectivity and albedo values for a material without accidentally violating the laws of physics (which tends to look bad). While enforcing these constraints in code isn’t strictly necessary to producing good looking art, it does serve a useful role as a kind of “nanny physicist” that will prevent artwork from bending the rules too far or becoming inconsistent under different lighting conditions.

 

When the equations are properly balanced, a renderer should display rough surfaces as having larger reflection highlights which appear dimmer than the smaller, sharper highlights of a smooth surface. It is this apparent difference in brightness that is key: both materials are reflecting the same amount of light, but the rougher surface is spreading it out in different directions, whereas the smoother surface is reflecting a more concentrated “beam”:

Here we have a second form of energy conservation that must be maintained, in addition to the diffusion/reflection balance described earlier. Getting this right is one of the more important points required for any renderer aspiring to be “physically-based”.

 

Linear-Space Lighting & Gamma ( source )

Some more sciency information for those who are curiousity-inclined. I read it. Great read! Here is the shortened version of the shortened version. the TL:DR if you will. I’m almost making a note here incase the site goes down. It is a little dated.

 

The gamma colour space is 0 - 255. The neutral gray/50% is 187, not 127(128).

As of the original writing, standard monitor gamma is about 2.2, with some exceptions.

 

A more indepth explanation of gamma and how it affects displays (monitor, cameras, LCD on camera, etc) is given in the article. For the sake of lessening the amount of diagrams, etc I’ve omitted it.

 


Поделиться:



Последнее изменение этой страницы: 2019-04-01; Просмотров: 267; Нарушение авторского права страницы


lektsia.com 2007 - 2024 год. Все материалы представленные на сайте исключительно с целью ознакомления читателями и не преследуют коммерческих целей или нарушение авторских прав! (0.017 с.)
Главная | Случайная страница | Обратная связь