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

02/12/2025

Case Study: How Mid-Atlantic Sports Network Moved to All-IP Distribution in 60 Days

Case Study: How Mid-Atlantic Sports Network Moved to All-IP Distribution in 60 D...

02/12/2025

2025 Sports Broadcasting Hall of Fame: Lee Corso, Coach, Commentator, Firebrand

2025 Sports Broadcasting Hall of Fame: Lee Corso, Coach, Commentator, FirebrandBy Ken Kerschbaumer Tuesday, December 2, 2025 - 7:00 am Print This Story | S...

02/12/2025

SVG All-Stars: Dan Nabors, Senior Director, Remote Engineering, TNT Sports

SVG All-Stars: Dan Nabors, Senior Director, Remote Engineering, TNT SportsThe veteran tech leader is helping guide Warner Bros. Discovery's at-home' re...

02/12/2025

National Lacrosse League Opens Season With New Cloud-Based Official Replay-Review System

National Lacrosse League Opens Season With New Cloud-Based Official Replay-Revie...

02/12/2025

Platinum White Paper: The Cinematic Look in Live Production - Bridging Aesthetics and Real-Time Broadcast Technology with Grass Valley

Platinum White Paper: The Cinematic Look in Live Production - Bridging Aesthetic...

02/12/2025

SVG India Announces Advisory Board; JioStar's Prashant Khanna Named Chairman

SVG India Announces Advisory Board; JioStar's Prashant Khanna Named ChairmanBy Ken Kerschbaumer Tuesday, December 2, 2025 - 11:15 am Print This Story |...

02/12/2025

SVG Summit 2025 Preview: New AI Production Tools Workshop' Features ESPN, Fox Sports, NBC Sports NEXT, PGA Tour, PlayOn, and USGA

SVG Summit 2025 Preview: New AI Production Tools Workshop' Features ESPN, F...

02/12/2025

Release Rundown: What to Watch in December, From Atropia to Endless Cookie

Written and directed by Hailey Gates, Atropia won the U.S. Grand Jury Prize: Dramatic at the 2025 Sundance Film Festival....

02/12/2025

Revolutionizing Defense: L3Harris' Advanced Counter-UAS Cutting-Edge Technologies Offer Scalable Solutions for NATO

The lightweight and highly portable CORVUS-RAVEN, recently demonstrated at the V...

02/12/2025

L3Harris Enhancing Marine Corps' Resilient, Multi-Orbit SATCOM Operations

The lightweight, rugged Panther 2 tri-band VSAT delivers high-speed data communications for Internet, VPN connectivity and video transmission over commercial an...

02/12/2025

Clear-Com's Gen-IC Virtual Intercom Delivers Fast, Flexible Communications for...

eds3_5_jq(document).ready(function($) { $(#eds_sliderM519).chameleonSlider_2_1({...

02/12/2025

Nielsen Global Impact Day 2025: Expanding our global impact

NGID volunteers in the United States NGID volunteers in Mexico NGID volunteers in India NGID volunteers in Spain NGID volunteers in Australia NGID voluntee...

02/12/2025

FCC Issues Reminder on Audio-Description Rule Deadlines

WASHINGTON The Federal Communications Commission's Media Bureau has issued a reminder that stations in DMAs 111 through 120 must implement its audio descrip...

02/12/2025

Sony Unveils Alpha 7 V Full-Frame Mirrorless Camera

SAN DIEGO Sony Electronics today introduced the Alpha 7 V (ILCE-7M5), the fifth generation of its Alpha 7 full-frame mirrorless lineup, powered by the newly dev...

02/12/2025

FCC Sets Comment Deadlines for Nexstar-Tegna Merger

WASHINGTON The Federal Communications Commission has opened a docket for comments on Nexstar Media Group's proposed $6.2 billion acquisition of Tegna and se...

02/12/2025

Veronica Rodriguez, Matt Schnaars and Jeff Warshaw Join NAB Board

WASHINGTON The National Association of Broadcasters has added a trio of media executives, Veronica Rodriguez, Matt Schnaars and Jeff Warshaw, to its board of di...

02/12/2025

Brightcove Unveils New Features

MILAN, Italy Brightcove has released seven new features designed to expand global reach, improve audience engagement, enhance live-streaming quality and streaml...

02/12/2025

BCNEXXT and NPC Media Sign Partnership Agreement for Vipe...

BCNEXXT, the developers of the advanced playout platform Vipe, today announced a new Service Provider Partner agreement with NPC Media, the Australian managed p...

02/12/2025

DPA Microphones N Series Wireless Mic System Now Availabl...

DPA Microphones today announces the immediate availability of its new N-Series Digital Wireless Microphone System for customers throughout the U.S. In addition ...

02/12/2025

Hiltron Reports a Well Attended and Successful Space Tech...

Hiltron Communications reports a well attended and successful Space Tech Expo exhibition, held at the Messe Bremen from Tuesday November 18 through Thursday Nov...

02/12/2025

The HELM powers Riverfire with flawless timecode precisio...

The beginning of September saw Riverfire by Australian Retirement Trust, in association with Channel 9 and Triple M, kick off the 2025 Brisbane Festival in spec...

02/12/2025

SGM Lighting and ACT Entertainment Announce Exclusive US...

SGM Lighting is pleased to announce an exciting new partnership with ACT Entertainment, under which ACT will serve as the exclusive distributor for SGM's ne...

02/12/2025

Harmonic Powers Telias NextGeneration Broadband Upgrade i...

Harmonic (NASDAQ: HLIT) today announced that Telia, the second largest telecom operator in Norway, is modernizing its broadband network with the company's i...

02/12/2025

Keepit and TIM AG enters distribution partnership for the...

European cloud data protection specialist Keepit is expanding its sales network in the DACH region and has gained TIM AG, one of the leading value-added distrib...

02/12/2025

Calrec pushes beyond traditional broadcasting with flexib...

Featured products at ISE 2026 This year s ISE 2026 theme "Push Beyond" reflects Calrec s direction of travel. The company is dedicated to supporting the AV an...

02/12/2025

Czech TV Implements Landmark LiveU OB Project in Central...

Czech Television, the national public broadcaster, has deployed one of the largest LiveU live production projects in the region for live sports and news coverag...

02/12/2025

Leader expands cinematic camera support for Live Producti...

Test & measurement innovator, Leader Electronics, has announced the release of v8.2 software for its ZEN and ZEN-W Series, bringing advanced cinematic camera se...

02/12/2025

Accedo and Magine Pro agree to merge SaaS businesses

Global provider of video streaming software and services, Accedo, and OTT platform provider, Magine Pro, have signed a binding agreement to carve out and merge ...

02/12/2025

Skandha Media Services New VP Sales Role Signals Bold Gro...

With proven success in broadcast, OTT, and content supply chains, K.S Avinash set to scale Skandha's service-first approach across APAC Skandha Media Servi...

02/12/2025

AJA Video Systems Joins RAVENNA Community

AJA Video Systems has joined the RAVENNA community, a network of partners devoted to advancing the RAVENNA standard for distributing real-time audio over intern...

02/12/2025

Report: ATSC 3.0 Would Boost Wireless Efficiency, Sustainability

HUNT VALLEY, Md. Sinclair and its wholly-owned subsidiary One Media Technologies have released a new report focused on how ATSC 3.0, the IP-based NextGen TV sta...

02/12/2025

FCC Issues a Reminder on Audio Description Rule Deadlines

WASHINGTON The Federal Communications Commission's Media Bureau has issued a reminder that stations in DMAs 111 through 120 must implement its audio descrip...

02/12/2025

ATSC Members Elect 4 to Board of Directors

WASHINGTON Members of the Advanced Television Systems Committee have elected four industry veterans to three-year terms on the organization's board of direc...

02/12/2025

Survey: Younger Gen Z Consumers Spend 5.1 Hours a Day on Social Media

A new survey from S&P Global Market Intelligence Kagan highlights how important social media is for younger consumers, with Gen Z spending 5.1 hours a day on so...

02/12/2025

Faculty Notes: Fall/Winter 2025

Faculty Notes: Fall/Winter 2025 Recent accomplishments, releases, and events by Berklee faculty. December 1, 2025 By Editorial Staff The cast of Kind of M...

02/12/2025

Ring In The Holidays With Our Biggest Sale Ever On Ivory II Pianos!

Ring In The Holidays With Our Biggest Sale Ever On Ivory II Pianos!From now until December 31st, you can save 50% or more on every Ivory II piano and collection...

02/12/2025

Made in America: How Stranger Things' Electrified the US Economy

Back to All News Made in America: How Stranger Things' Electrified the US Economy Entertainment 02 December 2025 GlobalUnited States Link copied to cl...

02/12/2025

International organizations align at International AI Standards Summit

-- The International Electrotechnical Commission (IEC), the International Organization for Standardization (ISO), and the International Telecommunication Unio...

02/12/2025

Harmonic Powers Telia's Next-Generation Broadband Upgrade in Norway

Harmonic's cOS Platform Will Redefine Subscribers' Quality of Experience, Lowering Churn SAN JOSE, Calif. - Dec. 2, 2025 - Harmonic (NASDAQ: HLIT) today...

02/12/2025

NVIDIA and AWS Expand Full-Stack Partnership, Providing the Secure, High-Performance Compute Platform Vital for Future Innovation

At AWS re:Invent, NVIDIA and Amazon Web Services expanded their strategic collab...

02/12/2025

All I want for Christmas is movies: RT unwraps hours of Festive films

S an Nollaig Hollywood blockbusters The Banshees of Inisherin, Barbie and Oppenheimer make their Irish TV debut Tune into the classics such as Love Actual...

02/12/2025

RT and Fs ireann/Screen Ireland unveil four new Storyland dramas for 2025

Showcasing fresh Irish storytelling and emerging talent Storyland 2025 signals a fantastic time for Irish drama RT and F s ireann/Screen Ireland are proud to...

01/12/2025

L3Harris and PentenAmio Formalise Agreement to Advance Key Management and Secure Communications Technology

L3Harris and PentenAmio formalise their teaming agreement at MilCIS 2025, streng...

01/12/2025

Artemis II: A Mission of Veterans, Firsts and Lunar Dreams

Artemis II is NASA's first crewed flight test of the Space Launch System rocket and Orion spacecraft. The crew, from left: Commander Reid Wiseman, Pilot Vic...

01/12/2025

Wooden Camera Releases Accessory Collection for Canon EOS C50

IRVINE, Calif. Wooden Camera has introduced its new Accessory Collection for the Canon EOS C50. The new lineup includes a low-profile, gimbal-ready cage, expand...

01/12/2025

FCC to Vote on LPTV Rules at December Public Meeting

WASHINGTON The Federal Communications Commission has released a tentative agenda for its Dec. 18 Open Commission Meeting that will include a vote on a report an...

01/12/2025

2026 Local TV Ad Forecasts Offer Growth and Uncertainties

In most years, a graph of annual local TV ad spending is about as predictable as an electrocardiogram of a reasonably healthy patient in a doctor's office. ...