Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

PBR material lab

Try physically based materials on a live sphere: base colour, metallic, roughness, light and tone mapping, plus Fresnel curves and F0, IOR and ORM converters.

How to use

  1. Pick a starting material or a base colour, then move Metallic and Roughness. The sphere is drawn again at once.
  2. Metallic 1 means a metal: the base colour becomes the colour of its reflection and there is no diffuse light. Metallic 0 means everything else: plastic, wood, stone, skin, paint.
  3. Roughness spreads the highlight: 0 is a mirror-like polish, 1 is chalk-like matte.
  4. Move the light around the sphere and change the exposure and tone mapping to see how the same material reads in other light.
  5. Fresnel shows how much light the surface reflects at each viewing angle; Converters turns IOR into F0, glossiness into roughness, sRGB into linear values, and packs an ORM pixel.

Keyboard and touch

TabMove between the controls
Left RightOn a slider: a small step down or up
Page Up Page DownOn a slider: a bigger step

Tips

  • Most surfaces are either metal or not. Keep Metallic at 0 or 1 and use values between only where a texture blends the two, such as rust on iron.
  • Non-metals reflect about 4 % head-on (specular level 0.5); water about 2 %. You rarely need to change it.
  • Detail lives in the roughness map: fingerprints, scratches and worn edges are roughness changes far more often than colour changes.
  • Look at the edge of any sphere: even rubber gets bright at grazing angles. That is Fresnel, and it is why it is built into the shader instead of painted in.
  • Colour maps are sRGB; roughness, metallic and occlusion maps are data. Saving them as colour makes a game engine brighten them by mistake.

About this tool

This is the metallic-roughness model shared by most game engines, glTF and many 3D programs. Each pixel uses Cook-Torrance specular: the GGX distribution with α = roughness², Smith-Schlick shadowing with k = (roughness + 1)² / 8 and Schlick's Fresnel F0 + (1 - F0)(1 - cos)5, plus Lambert diffuse for non-metals. F0 is 0.08 × specular level for non-metals and the base colour for metals, blended by Metallic (the convention described by Burley 2012 and Karis 2013). The grey sky uses Karis's 2014 analytic approximation of the pre-integrated environment term. Tone mapping is Reinhard x / (1 + x) or Narkowicz's fit of the ACES filmic curve; colours are converted with the sRGB formulas of IEC 61966-2-1.

The metal presets use typical linear F0 values published by Naty Hoffman (2013). Real renderers add image-based lighting, shadows, clear coats and more; this lab draws one sphere in software so every number can be followed. Generic tool, not affiliated with any game engine or 3D software maker.

See you tomorrow!

A fresh daily puzzle every morning, and new tools added every month.

Browse every product