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 ...

28/10/2026

SDI Failsafe IP Routing: Inside the UTAH-400 Series 2 Router

SDI Failsafe IP Routing: Inside the UTAH-400 Series 2 Router A pure-IP routing core has no inherent fallback. When the ST 2110 network degrades, when the PTP gr...

28/10/2026

MLB Network Brings Live Drone, Batting-Practice Livestream to Comprehensive Fall Classic Coverage

MLB Network is nearly all-day media day coverage across MLB Now, MLB Central, ML...

28/10/2026

Tech Focus, Digital Mics, Part 2 - Two Candidates on the Network

Voyage Audio and Shure microphones are in the forefront of the sector's transition to digital Microphones may have come late to the digital table, but they...

28/10/2026

Tech Focus: Digital Mics, Part 1 - The Future Is Here

Having long resisted the transition, broadcast audio's most fundamental element is finally entering the digital era About 25 years ago, a microphone manufa...

28/10/2026

WMSA Briefs FCC, NTIA, Congress and White House on Wireless Microphone Spectrum

The Wireless Microphone Spectrum Alliance (WMSA), formed in 2025 to raise awareness with government entities about wireless microphone operations, has held meet...

28/10/2026

SVG-Sit Down: Inside the Telos Alliance with John Schur and Martin Dyster

Telos Aliiance was at the recently held IBC in Amsterdam once again representing its brands which include Axia Audio, Omnia Audio, Telos Systems, 25-Seven Syste...

28/10/2026

SPORTEL Monaco Draws Nearly 2,000 Attendees for Two Days of Deal Making and Networking

SPORTEL Monaco 2026 wrapped up three days of high-level business, international ...

28/10/2026

Give Me the Backstory: Get to Know Joanna Natasegara, the Director of The Disciple: A Wu-Tang Fable

By Ramona Flume One of the most exciting things about the Sundance Film Festiva...

28/10/2026

Give Me the Backstory: Get to Know Jason Osder and William Lafi Youmans, the Co-Directors Behind Who Killed Alex Odeh?

By Jessica Herndon One of the most exciting things about the Sundance Film Fest...

28/10/2026

2027 Sundance Film Festival Reveals Legacy Programming

Co-Presented by Letterboxd BOULDER, Colorado, October 21, 2026 - The nonprofit Sundance Institute announced today the Legacy program for the 2027 Sundance Film...

28/10/2026

Moog launch the Model 112 & Model 210 amps

Two full-range, flat-response amps revealed Moog's latest announcement may come as a bit of a surprise to many, as rather than introducing a new synth, ...

28/10/2026

Audio Developer Conference 2026: Tickets now available

Annual event returns for 12th year in Bristol, UK Returning for its 12th year, the annual Audio Developer Conference is set to take place between 9-11 Novem...

28/10/2026

Fender Studio Pro 8.2 now available

Automation updates, Dim Solo mode, multiple Marker Tracks, MIDI 2.0 support & much more The latest version of Fender's DAW software has just arrived, de...

28/10/2026

Klevgrand release Altitude Harmony

Combines tuning & harmony generation Klevgrand's latest release offers a simplified take on Altitude, the pitch-correction and harmony-generation plug-i...

28/10/2026

Digital Originals backs the next wave of Australian screen talent

Digital Originals backs the next wave of Australian screen talent 28 October, 2026 Media releases SBS, National Indigenous Television (NITV) and Screen Aus...

28/10/2026

Behind every jinx is a story: Comedian Ting Lim takes a light-hearted look at superstition in SBS Audio's new podcast Jinxed!

Behind every jinx is a story: Comedian Ting Lim takes a light-hearted look at su...

28/10/2026

Brian Gregory to Lead Tegna Stations in North Carolina

Share Copy link Facebook X Linkedin Bluesky Email...

28/10/2026

Sift Clips Now Searches Frame.io Footage

Sift Clips Now Searches Frame.io Footage Brie Clayton October 28, 2026 0 Comments Frame.io search has now been added to Sift Clips. This new feature l...

28/10/2026

Choco Film Adopts DaVinci Resolve Studio and Blackmagic Cloud for Its Editing Workflow

Choco Film Adopts DaVinci Resolve Studio and Blackmagic Cloud for Its Editing Wo...

28/10/2026

Bitcentral Launches Fusion MediaShare to Help Station Groups Manage Content Across Markets

Share Copy link Facebook X Linkedin Bluesky Email...

28/10/2026

amaran Debuts First-of-its-Kind' 4K Auto Lighting Webcam for Live Streamers

Share Copy link Facebook X Linkedin Bluesky Email...

28/10/2026

Television Academy Partners With Best Buy to Train Next Generation of Production Assistants

Share Copy link Facebook X Linkedin Bluesky Email...

28/10/2026

Scripps Announces More Layoffs

Share Copy link Facebook X Linkedin Bluesky Email...

28/10/2026

Looper Insights Wins U.S. Patent for TV Interface Analytics

Share Copy link Facebook X Linkedin Bluesky Email...

28/10/2026

Rise AV announces 2026 Elevate cohort supporting the next...

Rise AV has announced the 23 women selected for its 2026 Elevate programme, bringing together professionals from 20 organisations across the UK, Ireland, German...

28/10/2026

QuickLink StudioEdge Simplifies Remote Interviews and Ele...

MTV Oy, Finland's largest commercial broadcaster, has long been recognized for its ability to deliver fast, reliable and engaging content across news, curre...

28/10/2026

NIH awards $16.4 million to establish multi-institution hepatitis C vaccine development center

LA JOLLA, CA-The shifty hepatitis C virus (HCV) has a knack for outmaneuvering t...

28/10/2026

Digital Originals backs the next wave of Australian screen talent

Digital Originals backs the next wave of Australian screen talent 28 October 2026 2026 Digital Originals cohort. Photo credit: Teniola Komolafe. SBS, National...

28/10/2026

COW Jobs: Managing Video Editor - Remote

COW Jobs: Managing Video Editor - Remote Brie Clayton October 27, 2026 0 Comments Managing Video Editor October 27, 2026COW Jobs: Production......

28/10/2026

COW Jobs: Production Manager

COW Jobs: Production Manager Brie Clayton October 27, 2026 0 Comments Production Manager October 27, 2026COW Jobs: Managing Video Editor -......

28/10/2026

ClaireGoodlassjoins Sky as Commissioning Editor, Documentaries

Wednesday 28 October 2026 Claire Goodlass joins Sky as Commissioning Editor, Documentaries Sky has appointed Claire Goodlass as Commissioning Editor, Document...

28/10/2026

Proximic by Comscore Expands Integration Across Magnite's CTV Ecosystem

Proximic by Comscore Expands Integration Across Magnites CTV Ecosystem First real-time contextual integration across Magnite SpringServe connects audience int...

28/10/2026

NVIDIA RTX Spark Windows Laptops Gain New Models, Agent Tools and Games

NVIDIA RTX Spark powers thin and light laptops built for everything that developers, creators and gamers do. RTX Spark laptops are now available from ASUS, Del...

28/10/2026

Have Your Say on RT's Future

RT is developing its next Statement of Strategy and wants to hear the views of people across Ireland the audience we serve. RT New Direction remains RT '...

27/10/2026

PSSI Global Services Clint Bergeson on the State of the Live Sports Transmission Business, Adapting to Current Challenges

Satellite, bonded cellular, and IP- and cloud-based solutions. Those are three o...

27/10/2026

Eutelsat Renews Qatar Media Corporation Agreement for DTH Distribution Across MENA

Eutelsat has renewed its partnership with Qatar Media Corporation (QMC), Qatar&#...

27/10/2026

PROTON to Showcase FLEXY Micro POV Camera at SATIS 2026

PROTON Camera Innovations GmbH will show the PROTON FLEXY at SATIS 2026 (Booth A13-B12), after the camera won a Best in Market award in the ProAV category at IB...

27/10/2026

ATSC Reports Interference Cancellation Demonstration for ATSC 3.0 in Brazil

ATSC, the Broadcast Standards Association, has reported results from a laboratory validation and live demonstration in Brazil of interference cancellation and s...

27/10/2026

PGA Tour Studios Adds Brian Gordon as Executive Producer, Head of Live Content

The PGA Tour announced Monday that Brian Gordon has joined PGA Tour Studios as executive producer and head of live content. He began with the Tour on Oct. 26 an...

27/10/2026

NBA Establishes Integrity Framework and Names Kalshi and Polymarket Preferred Prediction Market Exchanges

The NBA has announced agreements to establish a framework for NBA-related predic...

27/10/2026

JAY-Z to Headline Apple Music Super Bowl LXI Halftime Show

Apple Music, the NFL and Roc Nation have announced that JAY-Z will perform at the Apple Music Super Bowl LXI Halftime Show at SoFi Stadium in Los Angeles on Sun...

27/10/2026

DIRECTV and DAZN Add Cavaliers, Pacers, Grizzlies, Timberwolves and Spurs Local Games in Multi-Year Deal

DIRECTV and DAZN have signed a multi-year distribution agreement for local telec...

27/10/2026

NHL Launches NHL Monday Night Hockey for European Primetime Starting Nov. 30

The NHL has announced NHL Monday Night Hockey, a new initiative that will bring 11 live NHL games to fans across Europe in local primetime windows on Monday nig...

27/10/2026

Telefnica Servicios Audiovisuales Moves Movistar Plus+ Playout to Grass Valley AMPP

Telef nica Servicios Audiovisuales (TSA) has deployed Grass Valley AMPP for Movi...

27/10/2026

SES and CANAL+ Extend Satellite Partnership Through 2040

SES and CANAL have extended their partnership through 2040 with a multi-year agreement covering satellite capacity across Europe, Africa and the Caribbean. Un...

27/10/2026

Gravity Media Provides Flypack Production and RF Coverage for Red Bull Rampage 2026

Gravity Media deployed a flypack production system and RF cameras for Red Bull R...

27/10/2026

NSC TV Selects Appear X Platform to Move Santa Catarina Distribution From Satellite to IP

Appear has announced that NSC TV, a TV Globo affiliate in Brazil, has selected t...

27/10/2026

MLB's Broadcast Operations Push Innovation With ABS, AR, Expanded Drone Coverage

MLB's Ryan Zander discusses the league's work to integrate the ABS Chall...

27/10/2026

Reimagining a National System

Pictured: Filmmaker Vero Kompalic (Photo by Gia Rigoli) By Vero Kompalic This is the last picture I ever took in Venezuela. I had seen the girl in the row ah...