
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
Most recent headlines
05/01/2027
Worlds first 802.15.4ab-UWB chip verified by Calterah and Rohde & Schwarz to be ...
09/10/2026
September 10 2026, 06:00 (PDT) Dolby Expands Dolby OptiView Platform with New Capabilities at IBC 2026
New Sports Intelligence helps providers better unders...
07/10/2026
Dalet, a leading technology and service provider for media-rich organizations, today announced the latest Long-Term Supported (LTS) release of Dalet Flex. Build...
01/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
01/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
01/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
01/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
01/10/2026
Eleven minutes between headliners. The sponsor loop needs to be on screen now, and the only operator on hand is the one running lights. With the Green Hippo Est...
01/10/2026
DigiBox has announced a new partnership with FOR-A to represent the innovative MixBoard product range in the UK market, further expanding its portfolio of broa...
01/10/2026
Screen Australia-funded documentaries bring Australian experiences and new persp...
01/10/2026
Mavis Camera 8.2 adds iPhone 18 Pro support with variable aperture control
Brie Clayton September 30, 2026
0 Comments
Latest release also introduces P...
01/10/2026
Ghosts of the Gold Rush Shot with PYXIS 6K
Brie Clayton September 30, 2026
0 Comments
Blackmagic Design cameras expertly capture documentary while del...
01/10/2026
RE:Vision Effects - RSMB V7 is here!
Lori Freitag September 30, 2026
0 Comments
ReelSmart Motion Blur 7 is here, the RSMB V7 cycle is open. ReelSmart ...
01/10/2026
VideoGen raises $3.3M seed as its AI video platform passes 5 million users
Brie Clayton September 30, 2026
0 Comments
VideoGen co-founders Anton Koeni...
01/10/2026
New taproom, restaurant, lounge and theater in the historic Power Plant add to ATC's growing social hub
Fullsteam Brewery and CBC Real Estate celebrate th...
01/10/2026
Berklee and APM Music Launch Global Catalog Bringing Student-Created Music to Fi...
30/09/2026
Drawn to the many moving pieces of a live broadcast, this Los Angeles native is building a path in production management and technical operations...
30/09/2026
TNT Sports goes big for its season opener in Philadelphia, and REMI workflows at Techwood will again anchor much of regular-season production...
30/09/2026
Qvest has appointed Katlyn Alexander as CEO of Qvest in North America, effective August 16, 2026. Alexander, who previously served as COO of Qvest US, succeeds ...
30/09/2026
The American Association of Professional Baseball (AAPB) has wrapped its 2026 season, with leaguewide attendance surpassing 1.4 million for the fifth consecutiv...
30/09/2026
Veritone has announced a multi-year content licensing agreement with ATP Media, the broadcast production and distribution arm of the ATP Tour, making ATP's ...
30/09/2026
Netflix has announced it will become the exclusive home for WWE programming in Japan beginning October 1, 2026. The lineup includes Raw, SmackDown, NXT, Premium...
30/09/2026
SES and Sky have announced a new multi-year agreement for direct-to-home satellite services across the United Kingdom and Republic of Ireland, running into the ...
30/09/2026
Big Blue Marble has announced the addition of live multiview channels to its Clo...
30/09/2026
The NHRA has announced multi-year media rights agreements with FOX Sports, The C...
30/09/2026
FOX 5 Atlanta (WAGA-TV) will carry Nashville Predators games during the 2026-27 season as part of Scripps Sports' regional broadcast network for the team. G...
30/09/2026
AI was a big buzz on the IBC show floor but there weren't a ton of companies...
30/09/2026
The PGA TOUR has announced the appointment ofRyan Holcomb as Senior Vice President and Head of Original Content, according to The Hollywood Reporter. Holcomb wi...
30/09/2026
The sound will be more immersive, with improved design and more mikes on the ice and the players
The National Hockey League's season opener on Tuesday nigh...
30/09/2026
TNT Sports is dropping the puck on the 2026-27 NHL season in a big way in Philad...
30/09/2026
The International Swimming League ( ISL ) today announced the appointment of Gravity Media, global leader in live production and content and media services and ...
30/09/2026
By Ramona Flume
One of the most exciting things about the Sundance Film Festiva...
30/09/2026
Add an envelope generator to any plug-in
Sync Audio's latest creation is a handy utility plug-in that can be used to combine and modulate other effects ...
30/09/2026
All-analogue tape-style drive joins Series A
Strymon's reputation was built on their digital knowhow, so many were surprised (and intrigued) when they a...
30/09/2026
Two new expansion packs released
Sonuscore have just introduced two new expansion packs for The Pulse, its production engine instrument for modern cinematic...
30/09/2026
eds3_5_jq(document).ready(function($) { $(#eds_sliderM519).chameleonSlider_2_1({...
30/09/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
30/09/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
30/09/2026
The An Evening with Emerson, Lake and Palmer tour brings one of rock's most iconic bands back to the stage. These performances seamlessly blend live foota...
30/09/2026
Schibsted Media, one of Norways largest and most influential digital media publishers and content producers, has invested in mixers and digital signal processor...
30/09/2026
Big Blue Marble announces the addition of live multiview channels to Cloud Video Kit, its broadcast-grade video processing platform. The feature is powered by A...
30/09/2026
Leading video software provider Synamedia today announced that Telekom Slovenije, Slovenia's largest provider of telecommunications and TV services, is open...
30/09/2026
PODCAST EXPO 2026 Recorded Using Blackmagic Design Workflow
Brie Clayton September 29, 2026
0 Comments
Conference featuring 24 sessions over two days ...
30/09/2026
IBC2026 Show Report
David Kirk September 29, 2026
0 Comments
The International Broadcasting Convention has long been Europe's equivalent of the US...
30/09/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
30/09/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
30/09/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
30/09/2026
Mavis has launched Mavis Camera 8.2, the latest release of its professional camera app for the iPhone and iPad. This update brings support for iPhone 18 Pro and...
30/09/2026
Bringing together the world's brightest minds and the latest accelerated com...
30/09/2026
September 30th, 2026
TRIBECA FESTIVAL ANNOUNCES 2027 DATES AND CALLS FOR SUBMISSIONS
Following a Record Box Office Year, the 26th Edition, Presented by OKX,...