
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...
21/09/2026
From Graphic Novel to 30-Minute Animated Film: What I Learned Building an AI-Ass...
21/09/2026
Liam Hopkins Builds Recording Studio with Blackmagic Design
Brie Clayton September 20, 2026
0 Comments
Video complements audio production with music v...
21/09/2026
Indigenous screen organisations from Canada, Aotearoa New Zealand and Australia ...
21/09/2026
RT celebrates Irish Sign Language Awareness Week 2026
Special programmes across RT television, radio and online, plus special initiatives
#ISL #IDSL #IWDP26...
21/09/2026
AI security is an engineering problem. That means defined security requirements,...
21/09/2026
Clean energy isn't hard to come by, but the pace of large-scale adoption has historically been slow due to bottlenecks - including out-of-date infrastructur...
20/09/2026
Piano-playing singer-songwriter competition returns for fourth year
Casio have officially revealed the list of 16 finalists who have earned their place in t...
20/09/2026
COW Jobs: Video Editor, Motion Designer - Remote, PT, 6 Months
Brie Clayton September 20, 2026
0 Comments
Video Editor + Motion Designer (Remote | PT ...
19/09/2026
Three new rackmount power conditioners introduced
Yorkville Sound have announce the upcoming launch of three new RPC rackmount power conditioners from ART P...
19/09/2026
September 15, 2026
AMSTERDAM, SEPTEMBER 2026 - Colorfront (colorfront.com), the Academy and Emmy Award-winning developer of high-performance cinema mastering, ...
19/09/2026
Two High-Profile Professional Sports Franchises Renew creative.space Contracts with DigitalGlue
NFL team and Major League Soccer Club cite ease of use, secure ...
19/09/2026
Limited Edition Audio releases VoxSplit Pro for overlapping dialogue separation ...
18/09/2026
IBC 2026 Tech Moves Beyond the Gloss and Into the Rack If you spent any time in the halls of the RAI this year, you noticed a clear shift in conversation. The c...
18/09/2026
In-venue and creative video staffers at the professional and collegiate level ha...
18/09/2026
Qvest has appointed Jens Miedek as Senior Vice President Sales, Media and Entertainment. Before joining Qvest, Miedek spent 16 years at Riedel Communications an...
18/09/2026
Fonn Group has acquired full ownership of everviz, a cloud-native platform for interactive charts, maps, and data-driven graphics, and will rebrand it as Teikna...
18/09/2026
Other World Computing (OWC) has announced the acquisition of OpenDrives, a provider of software-defined video and rich media storage management solutions. The a...
18/09/2026
Kaltura and Verimatrix have announced a partnership integrating Verimatrix's Digital Rights Management and security capabilities into Kaltura's Cloud TV...
18/09/2026
The sixth edition of the World Nomad Games combined traditional sports, large-scale cultural performances, and some decidedly modern broadcast technology. Held ...
18/09/2026
DAZN and Super League Basketball (SLB) have extended their partnership for the 2026-27 season. Every Championship, Cup, and Play-Off fixture will be available l...
18/09/2026
Nielsen has announced that its Streaming Content Ratings (SCR) product will move from weekly to daily data delivery, with clients now receiving viewership data ...
18/09/2026
ESPN will present LALIGA's ElCl sico on ABC for the first time, with FC Barcelona vs. Real Madrid airing Sunday, October 25 at 4 p.m. ET. A one-hour pre-mat...
18/09/2026
The University of Pennsylvania's Division of Recreation and Intercollegiate ...
18/09/2026
The Charlotte Hornets have announced DAZN as their exclusive direct-to-consumer streaming partner for the 2026-27 NBA season. The service launches immediately, ...
18/09/2026
Broadcast sports' original medium will let drivers keep on hearing the plays thanks to a new bill set to pass the Senate....
18/09/2026
Fourteen iPhone 18 Pro devices - eight connected over a T-Mobile Private 5G Netw...
18/09/2026
The Minnesota Lynx have announced that their final local broadcast of the 2026 regular season will air free on FOX 9 following the shutdown of Victory . The Ly...
18/09/2026
Monumental Sports Network (MNMT) has announced that its Monumental+ streaming service is now available as a subscription through Prime Video, giving Capitals an...
18/09/2026
WTGL, the women's team golf league created by TMRW Sports in partnership with the LPGA, has announced its inaugural season schedule. The season premieres Su...
18/09/2026
Ratings Roundup is a rundown of recent ratings news and is derived from press re...
18/09/2026
Studio Network Solutions (SNS) has won Best Journal Article at the 2026 IAMT Impact Awards for What Video Editors Need When Everything Is Changing Around Them, ...
18/09/2026
10 new voice models join line-up
The latest expansion for IK Multimedia's AI-powered vocal-modelling software has arrived, delivering a set of 10 new vo...
18/09/2026
A day of hands-on synthesis, sound design & performance
On Saturday 26 September 2026, The Museum of Synthesisers will be hosting a full day of hands-on syn...
18/09/2026
HPA is supporting Fix It or Risk It, a non-commercial, industry-wide public-service campaign helping organizations across the media and entertainment supply cha...
18/09/2026
AgileTV has successfully wrapped up its participation at IBC 2026 in Amsterdam, following four days of conversations with customers, partners and industry profe...
18/09/2026
aconnic AG (ISIN: DE000A0LBKW6), Munich, invites its shareholders and investors to a Virtual Investor Conference on Tuesday, September 29th, 2026, at 11.00 am.
...
18/09/2026
DHD reports a high level of interest in its range of audio production equipment on all four days of the September 11-14 International Broadcasting Convention in...
18/09/2026
Sonnet Announces Thunderbolt 5 eGPU With 850-Watt Power Supply and Integrated Do...
18/09/2026
DeckBridge adds live Resolve playback and Fairlight controls to Stream Deck
Brie Clayton September 17, 2026
0 Comments
DeckBridge starting profiles ac...
18/09/2026
Learn to arrange tracks using Color With Live's Free Stencil Pack
Brie Clayton September 17, 2026
0 Comments
Stencils are Color With Live's or...
18/09/2026
Berklee Establishes Susan Tedeschi Scholarship in Honor of Grammy-Winning Alumna The scholarship is announced as Tedeschi returns to headline the Berklee Bloc...
18/09/2026
The inside scoop on attention-grabbing market assets from those in the know 17 September 2026
(L-R): Sophie Green, Todd Brown and Edwina Waddy
Find this episo...
18/09/2026
Senior Colorist Siggy Ferstl of Company 3 has been grading The Boys since the sh...
18/09/2026
Friday 18 September 2026
The new iPhone 18 Pro, iPhone 18 Pro Max, Apple Watch ...
18/09/2026
Senior Colorist Siggy Ferstl of Company 3 has been grading The Boys since the sh...
17/09/2026
Lions vs. Bills will also be the first regular-season game at new Highmark Stadi...
17/09/2026
Teradek has announced Bolt 7, a wireless video and data system that adds an integrated 900MHz radio to the Bolt's zero-delay video pipeline. The 900MHz chan...