Image-Based Lighting (IBL) is a CG rendering technique used in many workflows which involves using an omni-directional representation of light information encoded as an image. Typically, the image is captured and processed as a high dynamic range image (HDRI) for greater realism. This image is then projected onto a dome or sphere analogously to environment mapping. Path tracing is then used to resolve all the visibility and light paths that illuminate the objects in the 3D scene from the HDRI. Accounting for both the materials' scattering response (BSDF) and the lighting information encoded into the image, multiple importance sampling (MIS) is used to resolve both indirect diffuse and indirect specular effects.

IBL is the de-facto standard lighting technique in global illumination and physically-based renderers. It provides fast, easy to setup, highly detailed lighting, shadowing, reflections and refractions. It is good for both exteriors and interiors lighting (often in combination with area lights and portals). IBL can be also used as a complement to the more standard techniques that try to model illumination using classic CG lights, blockers and bouncers.

For a proper IBL workflow, three aspects are key to achieve eye-pleasing imagery:

  1. Establishing an appropriate, color managed, linear workflow.
  2. Understanding the value range in the HDRI used as the source for IBL.
  3. Using physically/visually plausible, energy-conserving, materials.

Unlike other renderers (that generally fail at sampling environments efficiently), 3Delight provides a proprietary, state of the art, environment sampling algorithm which does not require users to rely on caveats like:

In 3Delight, instead, you should follow these two basic rules:

  1. Use a large pixel resolution for your HDRI: ideally, twice the size your render output resolution (e.g. if you are rendering a full HD frame @ 1920x1080, then your ideal HDRI resolution is 3840x2160).
  2. No need to pre-blur your HDRI: 3Delight can efficiently use the same image for both diffuse and specular lighting. Pre-blurring environment maps can get rid of important lighting cues in the scene.

How does IBL contributes to the final image?

How HDRI alterations contributes to illumination changes?

What image should I use as input for IBL?

What mapping should I use?

 

Step-by-step guide for image-based lighting

First you should turn on "color management" in the common section of the Maya Render Globals:


Then, setting up IBL in 3Delight can accomplished in three simple steps:

  1. Create an Environment node and map a HDRI image. You can choose to use:
    1.  via a Maya File node. In such case, make sure to carefully understand input file textures Color Management first (most likely you will need to set the color profile for your Maya File node holding the HDRI image as "linear"):
       
    2. or, if you want to use a procedural physical sky model, use the 3Delight Sky node (which is always linear).
       
    3. or any other 2D texture/procedural node such as ramp etc.

      If you are using the 3Delight OSL renderer you can optionally use a solid color (therefore having no 2dtexture connected)


  2. Enable Indirect Illumination and choose an appropriate number of indirect bounces (the default value of  2 is a good start for exteriors)

    3Delight features highly optimized multi-bounce path tracing global illumination with tiny performance impact on larger number of indirect illumination bounces. Values up to 16 bounces are possible and can be beneficial in complex interior setups (see relative section below).


  3. Render in i-Display (make sure to use the right image viewer color profile in i-Display, most likely you will need "Linear to sRGB").

    Now you can render:

Here are more detailed steps that take into account the pre-requisites:

If you do not enable indirect illumination, the environment will be visible in reflections and refractions (because they are active by default in the Render Settings) but it will not illuminate your scene (no "environment diffuse") and you will not obtain surface-to-surface light and color transport (no "indirect diffuse").



Here are additional rendering examples done following this basic tutorial using different HDRI imagery:

 

 

 

Here are key aspects of the IBL workflow in 3Delight:

→ The illumination and shadowing reacts from the details in the HDRI.
The illumination is not noisy.
There is no need to set any "sampling resolution" parameter on the IBL.
There is no need to pre-blur the HDRI: you can get sharp reflections and soft shadows with one single image.
There is no need to downsize your HDRI.
There is no need to use multiple version of the HDRI and associate them to different ray types (commonly known as "ray switching")
Many image layers (AOVs) are at your disposal in a single rendering operation, at no additional cost in rendering time.
→ You can have multiple delightEnvironment nodes in your scene, each with different textures connected, and you can choose the appropriate ones for the shot you are working on.

 

Notes for Interiors Lighting (To Be Completed)

For interior rendering there are two cases:

  1. Fully enclosed interiors, without any openings towards the exterior allowing external light to come in.
  2. Interiors with openings towards the exterior (e.g. a room with windows, doors, or other type of openings).

Fully enclosed interiors

Or:

 

Note that 3Delight has no problem using a higher number of diffuse bounces. It not unlikely for fully enclosed interiors to require higher numbers of diffuse bounces (check statistics for precise feedback)

Interiors with openings