
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
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
07/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
07/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
07/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
07/10/2026
UK-based broadcast engineer Andrew Kemp has chosen a dhd.audio SX2 and XS3 as the basis of a transportable media-training resource. With a quarter-century of ex...
07/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
07/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
07/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
07/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
07/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
07/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
07/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
07/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
07/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
07/10/2026
Cobalt Digital to Bring End-to-End ST 2110/IPMX Solutions and Practical Tools to NAB Show New York
Highlights include complete path from SDI to IP, C-band tran...
07/10/2026
Deerstalker Pictures The Exorcism of Nixie Shot With Blackmagic Cameras
Brie Clayton October 6, 2026
0 Comments
Fantasy series relied on Blackmagic ca...
07/10/2026
Nevion announces Providius NVRT integration with eMerge switches for expanded br...
07/10/2026
DriveShelf - A Filmmaker's Mac App for Finding Footage on Unplugged Drives
Brie Clayton October 6, 2026
0 Comments
DriveShelf for Mac catalogs eve...
07/10/2026
COW Jobs: Cinematographer, Video Editor - Baltimore, MD
Brie Clayton October 7, 2026
0 Comments
Cinematographer / Video Editor
September 23, 2026 ...
07/10/2026
Behind the Scenes at Berklee Homecoming 2026 Follow Marley Striem BM '25 behind the scenes as she manages a team of students and liaises with artists duri...
07/10/2026
Berklee College of Music and Berklee Valencia Named to Billboards 2026 List of T...
07/10/2026
Undercover filming shows add-on treatments with potential safety concerns on sal...
07/10/2026
Join Emma Doran, Justine Stafford, Killian Sundermann, Se n Burke and Michael Fry on RT 2 and RT Player tomorrow at 10.30pm
A host of guest stars include Siob...
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...
06/10/2026
A response to Mark Turner and the SVG AI Innovation Lab
SVG AI Innovation Lab Program Director Mark Turner's How Broadcast Sports Can Apply the Newsroom S...
06/10/2026
Cobalt Digital will exhibit at NAB Show New York 2026 (Booth 226, Javits Center, October 21-22), demonstrating its ST 2110/IPMX product line alongside solutions...
06/10/2026
LiveU and Airwise have announced a strategic partnership integrating LiveU's bonded video transmission with Airwise's drone fleet management, airspace a...
06/10/2026
Hotspur Labs, Tottenham Hotspur's corporate venture programme, will co-host ...
06/10/2026
SPORTEL Monaco 2026 will take place October 19-21 at the Grimaldi Forum in Monaco, with the conference programme running October 19-20.
Sessions include:
Mast...
06/10/2026
Zixi has announced the appointment of John Towers as Chief Financial Officer. Towers brings more than 20 years of experience in media and entertainment, includi...
06/10/2026
The Memphis Grizzlies, DAZN, and WATN/ABC24 have announced a partnership to simulcast 15 regular season Grizzlies games free over-the-air on ABC24 during the 20...
06/10/2026
The Minnesota Timberwolves, KARE 11, and DAZN have announced a partnership to simulcast 15 Timberwolves games free over-the-air on KARE 11 during the 2026-27 se...
06/10/2026
Sportel 2026 is set to be held in Monaco in less than two weeks (beginning Octob...
06/10/2026
The company's Pro Data portable storage unit enabled the Dallas Cowboys prod...
06/10/2026
Three new compact pedals announced
Warm Audio have just introduced a new guitar pedal line-up that offers compact, pedalboard-friendly versions of some of t...
06/10/2026
Drum-replacement tool gets major overhaul
WaveMachine Labs have announced that the latest version of their drum-replacement software is now available, and i...
06/10/2026
Firmware update implements user-requested features
Arturia's stage-going keyboard series has just received a significant update that addresses some of t...
06/10/2026
(4:51 PM) Wiesbaden, October 06, 2026. Based on business performance to date, pa...
06/10/2026
SBS invites audiences and communities to help shape the future of its language s...
06/10/2026
Manufacturer receives honors from both TV Tech and TVB Europe for advancements in compression technology
AMSTERDAM September 30, 2026 - Cobalt Digital has ...
06/10/2026
Cobalt Digital NAB NY Booth 226 // Journalists: Click to visit Cobalt
Highlight...
06/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
06/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
06/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
06/10/2026
Imaginary Forces Paints a Portrait of Conflict in War
Brie Clayton October 6, 2026
0 Comments
Director Ronnie Koff of Imaginary Forces (IF) transforms...
06/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
06/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
06/10/2026
Pebble, a leading specialist in automation, content management and integrated channel solutions, is supporting the continued modernisation of playout at Brazili...