Sony Pixel Power calrec Sony

What Is Direct and Indirect Lighting?

04/08/2022

Imagine hiking to a lake on a summer day - sitting under a shady tree and watching the water gleam under the sun.

In this scene, the differences between light and shadow are examples of direct and indirect lighting.

The sun shines onto the lake and the trees, making the water look like it's shimmering and the leaves appear bright green. That's direct lighting. And though the trees cast shadows, sunlight still bounces off the ground and other trees, casting light on the shady area around you. That's indirect lighting.

For computer graphics to immerse viewers in photorealistic environments, it's important to accurately simulate the behavior of light to achieve the proper balance of direct and indirect lighting.

What Is Direct and Indirect Lighting? Light shining onto an object is called direct lighting.

It determines the color and quantity of light that reaches a surface from a light source, but ignores all light that may arrive at the surface from any other sources, such as after reflection or refraction. Direct lighting also determines the amount of the light that's absorbed and reflected by the surface itself.

Direct lighting from the sun and sky. Light bouncing off a surface, illuminating other objects is called indirect lighting. It arrives at surfaces from everything except light sources. In other words, indirect lighting determines the color and quantity of all other light that arrives at a surface. Most commonly, indirect light is reflected from one surface onto other surfaces.

Indirect lighting generally tends to be more difficult and expensive to compute than direct lighting. This is because there is a substantially larger number of paths that light can take between the light emitter and the observer.

Direct and indirect lighting in the same setting. What Is Global Illumination? Global illumination is the process of computing the color and quantity of all light both direct and indirect that is on visible surfaces in a scene.

Accurately simulating all types of indirect light is extremely difficult, especially if the scene includes complex materials such as glass, water and shiny metals - or if the scene has scattering in clouds, smoke, fog or other elements known as volumetric media.

As a result, real-time graphics solutions for global illumination are typically limited to computing a subset of the indirect light - commonly for surfaces with diffuse (aka matte) materials.

How Are Direct and Indirect Lighting Computed? Many algorithms can be used for computing direct lighting, all of which have strengths and weaknesses. For example, if the scene has a single light and no shadows, direct illumination is trivial to compute, but it won't look very realistic. On the other hand, when a scene has multiple light sources, processing them all for each surface can become expensive.

To tackle these issues, optimized algorithms and shading techniques were developed, such as deferred or clustered shading. These algorithms reduce the number of surface and light interactions to be computed.

Shadows can be added through a number of techniques, including shadow maps, stencil shadow volumes and ray tracing.

Shadow mapping has two steps. First, the scene is rendered from the light's point of view into a special texture called the shadow map. Then, the shadow map is used to test whether surfaces visible on the screen are also visible from the light's point of view. Shadow maps come with many limitations and artifacts, and quickly become expensive as the number of lights in the scene increases.

Stencil shadows in Doom 3' (2004). Image source: Wikipedia. Stencil shadow volumes are based on extruding scene geometry away from the light, and rendering that extruded geometry into the stencil buffer. The contents of the stencil buffer are then used to determine if a given surface on the screen is in shadow or not. Stencil shadows are always sharp, unnaturally so, but they don't suffer from common shadow map problems.

Until the introduction of NVIDIA RTX technology, ray tracing was too costly to use when computing shadows. Ray tracing is a method of rendering in graphics that simulates the physical behavior of light. Tracing the rays from a surface on the screen to a light allows for the computation of shadows, but this can be challenging if the light comes from one point. And ray-traced shadows can quickly get expensive if there are many lights in the scene.

More efficient sampling methods were developed to reduce the number of rays required to compute soft shadows from multiple lights. One example is an algorithm called ReSTIR, which calculates direct lighting from millions of lights and shadows with ray tracing at interactive frame rates.

Direct illumination and ray-traced shadows created with ReSTIR, compared to a previous algorithm. What Is Path Tracing? For indirect lighting and global illumination, even more methods exist. The most straightforward is called path tracing, where random light paths are simulated for each visible surface. Some of these paths reach lights and contribute to the finished scene, while others do not.

Path tracing is the most accurate method capable of producing results that fully represent lighting in a scene, matching the accuracy of mathematical models for materials and lights. Path tracing can be very expensive to compute, but it's considered the holy grail of real-time graphics.

Comparison of path tracing with a less complete ray-tracing algorithm and rasterization. How Does Direct and Indirect Lighting Affect Graphics? Light map applied to a scene. Image courtesy of Reddit. Direct lighting provides the basic appearance of realism, and indirect lighting makes scenes look richer and more natural.

One way indirect lighting has been used in many video games is through omnipresent ambient light. This type o
LINK: https://blogs.nvidia.com/blog/2022/08/04/direct-indirect-lighting/...
See more stories from nvidia

Most recent headlines

05/01/2027

Worlds first 802.15.4ab-UWB chip verified by Calterah and Rohde & Schwarz to be demoed at CES 2026

Worlds first 802.15.4ab-UWB chip verified by Calterah and Rohde & Schwarz to be ...

09/11/2026

Reinvigorated AES Show Nashville Debuts in Music City

In a new home, the show had its traditional focus on music production, but broadcast themes received significant emphasis The Audio Engineering Society (AES) c...

09/11/2026

Sportel Panel Recap: How AI Is Impacting Everything Private Equity to Broadcasters, Streamers, Federations

Content creation and rights, YouTube archive, production workflows, investment, ...

09/11/2026

Building the REMI Hub of Today (and Tomorrow): Broadcasters and Vendors Share Their Strategies

Industry leaders from Prime Video, NASCAR, FOX Sports, and more discuss the tech...

09/11/2026

SMT Provides Broadcast Graphics and Shot Data for Inaugural WTGL Season

SMT (SportsMEDIA Technology) is delivering on-air graphics and shot data for the Women's Team Golf League (WTGL), which made its debut Sunday, Nov. 8, at So...

09/11/2026

BKB Names Michael Ridout Managing Director, UK

BKB Bare Knuckle Boxing has appointed Michael Ridout Managing Director, UK. He will lead BKB's operations in the United Kingdom and take on wider operationa...

09/11/2026

SMPTE Media Technology Summit 2026 Set for Nov. 16-19 in Pasadena

SMPTE's Media Technology Summit (MTS2026) takes place Nov. 16-19 at the Pasadena Convention Center. The schedule: Media Tech Business Forum (Monday, Nov. 1...

09/11/2026

AES Show Nashville 2026 Draws Nearly 3,000 Registrations

The Audio Engineering Society (AES) held AES Show Nashville 2026 Oct. 30-Nov. 1 at the Gaylord Opryland Resort & Convention Center. AES reports nearly 3,000 reg...

09/11/2026

Devoncroft Partners To Present Enterprise Video Survey Findings at Silicon Valley Video Summit

Analyst Josh Stinehour will share results Jan. 26 in Mountain View, Calif. Devo...

09/11/2026

Behind The Mic: Tirico Misses SNF Due to Health Issue; Wilbon Takes Leave of Absence From PTI

Behind The Mic provides a roundup of recent news regarding on-air talent, includ...

09/11/2026

Cleveland Cavaliers Boost In-Venue Energy With The Famous Group's Virtual Camera Tech

Permanent mixed-reality activation debuted against the Brooklyn Nets at Rocket A...

09/11/2026

The College Football Playoff Will Expand to 24 Teams in 2027; ESPN Secures Rights to 12 Additional Games

The new agreement brings the Playoff to 23 games, including 16 on-campus matchup...

09/11/2026

SMT Supports All Three NASCAR National Series Championship Broadcasts at Homestead-Miami Speedway

SMT provided production technology and graphics support for all three NASCAR nat...

09/11/2026

Vertikal from Native Instruments

Captures Nils Frahms upright concert grand In their latest collaboration with composer Nils Frahm, Native Instruments have captured a vertical concert grand...

09/11/2026

Sonic Days 2026

18-19 November 2026, Sonic College, UC SYD, Kolding, Denmark Sonic College have announced that their annual Sonic Days conference is set to return to Koldin...

09/11/2026

Sonuscore release The Score Elements

Cinematic scoring tool gains free entry-level version Sonuscore's Elements range offers a free entry point into the company's line-up of scoring too...

09/11/2026

Rohde & Schwarz and ZES ZIMMER present test solutions for power systems and automation at SPS 2026

Rohde & Schwarz and ZES ZIMMER present test solutions for power systems and auto...

09/11/2026

Hercule: further casting unveiled for forthcoming series with Edward Bluemel

The BBC and BritBox have announced further casting for the forthcoming six-part series Hercule from Mammoth Screen and Agatha Christie Limited for the BBC and B...

09/11/2026

Sonys Shotgun Mic Deployed in Drifter' Shoot

Share Copy link Facebook X Linkedin Bluesky Email...

09/11/2026

Fox Closes Roku Acquisition

Share {alert(Link copied)}).catch(err => {console.error(Failed to copy: , err)}) data-platform=copy_link data-action= class=font-ui-heading py-2 text-sm tex...

09/11/2026

Indianapolis TV Stations Return to DirecTV After Lengthy Absence

Share Copy link Facebook X Linkedin Bluesky Email...

09/11/2026

Vizrt Completes Proof-of-Concept Integration With Story Object Model

Share Copy link Facebook X Linkedin Bluesky Email...

09/11/2026

Broadcast Dominated Midterms Coverage

Share Copy link Facebook X Linkedin Bluesky Email...

09/11/2026

Berklee's Singers Showcase Celebrates Whitney Houston's Music and Her Gospel Roots

Berklee's Singers Showcase Celebrates Whitney Houston's Music and Her Go...

09/11/2026

Life in the fast lane

Monday 9 November 2026 Life in the fast laneTurn on cookies to view this content. Go to Privacy options and select Accept All'. Privacy options From Tik...

09/11/2026

Cathy Newman to revist defining moments in recent history with the people who lived through them in new Sky News podcast

Monday 9 November 2026 Cathy Newman to revist defining moments in recent histor...

09/11/2026

Sky VIP unwraps over one million free rewards for customers this Christmas

Monday 9 November 2026 Sky VIP unwraps over one million free rewards for customers this Christmas This Christmas, Sky VIP is giving away more than one million...

09/11/2026

Measuring what matters to achieve climate targets

When is a city green' and when is it a big polluter? As we approach COP 31, when country leaders from around the world meet to negotiate climate policies a...

09/11/2026

Focusrite Control 2 iOS and Android apps now support Scarlett 3rd Gen, Clarett+, and more

Focusrite Control 2 iOS and Android apps now support Scarlett 3rd Gen, Clarett ,...

09/11/2026

NVIDIA Announces New Planned Investments in Korean Startups at the MSIT-NVIDIA AI Startup Partnership Forum

Korea's Ministry of Science and ICT and NVIDIA hosted the MSIT-NVIDIA AI Sta...

09/11/2026

Practice Makes Precise: At CoRL, NVIDIA and Partners Reveal How Robots Rehearse Delicate Work in Simulation

Simulation, which has long been the proving ground for robots learning to walk, ...

08/11/2026

Acon Digital release Restoration Suite 3

Updated modules & new Analyze function Acon Digital's all-in-one restoration plug-in has just been updated, and now boasts an Analyze button that allows...

08/11/2026

AnalogX launch Genesis

Run analogue gear emulations on your GPU AnalogX have released a new GPU-powered mixing ecosystem that's been designed to change how users handle analog...

08/11/2026

COW Jobs: Set and Production Design Expert - Remote

COW Jobs: Set and Production Design Expert - Remote Brie Clayton November 8, 2026 0 Comments Set and Production Design Expert (Remote, worldwide) No...

08/11/2026

NVIDIA Dynamo Recipes Bring Korea's Leading Open Models to Production

NVIDIA is releasing Dynamo-optimized deployment recipes for Korea's leading open models: A.X K2 from SK Telecom, K-EXAONE 2.0 from LG AI Research, Solar Ope...

08/11/2026

From Chips to Skills, NVIDIA and Korea Expand Sovereign AI Collaboration

NVIDIA and Korea's Ministry of Science and ICT (MSIT) are expanding their collaboration across the country's sovereign AI ecosystem, from AI semiconduct...

08/11/2026

Korea's AI Ecosystem Advances and Secures Agentic AI With NVIDIA

As AI agents take on more work, they need capable open models and security that advances alongside them. Hyundai Motor Group is exploring NVIDIA NemoClaw bluep...

08/11/2026

Korea Advances Physical AI Across Industries With NVIDIA

Tapping into the country's strengths in manufacturing and engineering, NVIDIA is helping advance Korea's physical AI ecosystem. The country's indu...

07/11/2026

Tracktion Waveform Free 14.1 now available

Mix Analysis, improved Render window & new bundled instrument The free version of Tracktion's DAW software has recently received an update that introduc...

07/11/2026

NFVF CALL FOR MARKET READINESS PROGRAMME FOR SOUTH AFRICAN GAMING STUDIOS

The National Film and Video Foundation (NFVF) is a statutory body established to promote and develop the South African film and video industry, including animat...

07/11/2026

Nielsen: 31.2 Million Viewers Watch 2026 U.S. Midterm Election Coverage

NEW YORK - November 5, 2026 - An estimated 31.2 million people watched primetime coverage of the 2026 U.S. midterm elections on Tuesday, November 3, according t...

07/11/2026

RCI Custom Selects Neutrik as Primary Source for Connectors

Share Copy link Facebook X Linkedin Bluesky Email...

07/11/2026

Audio Engineer Rachel Saldivar Deploys Sony Shotgun Mic for Drifter' Shoot

Share Copy link Facebook X Linkedin Bluesky Email...

07/11/2026

COW Jobs: Production Manager - Las Cruces, NM

COW Jobs: Production Manager - Las Cruces, NM Brie Clayton November 6, 2026 0 Comments Production Manager November 5, 2026COW Jobs: Faith-Based UGC ...

06/11/2026

Gravity Medias JockeyCam at Center of Melbourne Cup Carnival Busy Week of Horse Racing

It's been a big week in Australia horse racing as the Victoria Racing Club (...

06/11/2026

PBR Expands Production of Teams Championship With Third Mobile Unit, More Cameras

Additional gear includes a second, outside drone; a second slo-mo unit; and a wi...

06/11/2026

University of Alabama Installs Daktronics Displays at Coleman Coliseum

The University of Alabama has installed a new Daktronics display system at Coleman Coliseum in Tuscaloosa. It includes a 360-degree centerhung with four underbe...

06/11/2026

NEP Adds IP-Based Flypack Production Kits in the U.S.

NEP Americas, part of NEP Group, has expanded its remote production offering with new IP-based flypack production kits deployed from the U.S. and available to c...

06/11/2026

Telestream Appoints Joseph Hopkins Chief Revenue Officer

Telestream has appointed Joseph Hopkins Chief Revenue Officer. He has more than two decades of executive experience in media technology. In the role, he will fo...

06/11/2026

SVG GameDay, Ep. 38: Texas Rangers Chris DeRuyscher - Livin the Life at Globe Life Field

In-venue and creative video staffers at the professional and collegiate level ha...