PHYSICALLYBASED

A database of physically based values for CG artists


Shading

Color Space Converter


The color space of all CSS colors before CSS Color Level 4, sRGB is derived from the definition of HDTV. Most screens can display all, or very nearly all, sRGB colors but there are many visible colors which lie outside the sRGB gamut. Primaries: Rec. 709 Whitepoint: D65 Transfer Function: Linear

Decimals:

Red

Green

Blue

Relative Luminance: 0.783


Uses Colorjs.io - MIT license
Image

Exif Reader



This app runs locally in the browser and no data is uploaded or tracked.

Uses ExifReader - MPL-2.0 license
Shading

sRGB Gamma Converter


sRGB


Linear


Formulas:
sRGB =
if (Linear < 0.0031308) Linear * 12.92
else (1.055 * pow(Linear, 0.41666) - 0.055)

Linear =
if (sRGB < 0.04045) sRGB * 0.0773993808
else (pow(sRGB * 0.9478672986 + 0.0521327014, 2.4))

Sources: [0][1][2]
Shading

Specular/IOR Converter


Specular


Index of Refraction


Formulas:
Specular = pow((IOR - 1) / (IOR + 1), 2) / 0.08

IOR = 1 / (2 / (sqrt(0.08 * Specular) + 1) - 1)

Sources: [0][1]

Data from https://api.physicallybased.info/