
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 ...
01/06/2026
January 6 2026, 05:30 (PST) Dolby Sets the New Standard for Premium Entertainment at CES 2026
Throughout the week, Dolby brings to life the latest innovatio...
02/05/2026
Dalet, a leading technology and service provider for media-rich organizations, t...
01/05/2026
January 5 2026, 18:30 (PST) NBCUniversal's Peacock to Be First Streamer to ...
01/04/2026
January 4 2026, 18:00 (PST) DOLBY AND DOUYIN EMPOWER THE NEXT GENERATON OF CREATORS WITH DOLBY VISION
Douyin Users Can Now Create And Share Videos With Stun...
24/02/2026
TNDV, a division of Live Media Group, delivered broadcast and live event product services for Passion 2026, marking the company's 17th year supporting the a...
24/02/2026
Ryan Schaber has had a front row seat to both the dynamics behind the Kraken's now-extended broadcast affiliation with TEGNA and its impact on the broader s...
24/02/2026
All Women's Sports Network (AWSN) announces the debut of women's professional boxing on its fast-growing television platform in partnership with Hall of...
24/02/2026
The NFL and StatusPRO, a sports entertainment and technology company that combines AI and performance data with emerging technology to create experiential conte...
24/02/2026
Pro League Network (PLN), a next-generation sports media and entertainment compa...
24/02/2026
Sportel Asia returns to Singapore for the first time since 2018 on March 24-25 and Agn s Marsan, Executive Director of SPORTEL Asia, says the return to Singapor...
24/02/2026
Join ARRI for a conversation and Q&A with Sports Cinematographer Domenick Satter...
24/02/2026
Veritone, Inc announces a renewal of its agreement with U.S. Soccer to license a...
24/02/2026
Commitment to innovation at network, conference, and institutional levels have i...
24/02/2026
The new RSN, which will produce 140+ games a year, arrives after the Braves exited Main Street Sports and FanDuel Sports Network earlier this month....
24/02/2026
CBS Sports and Concacaf today announced that CBS Sports will be the exclusive En...
24/02/2026
Official Venues Unveiled for Festival's Milestone Colorado Debut in 2027...
24/02/2026
Life needs music. So does the afterlife. That's why Spotify has partnered wi...
24/02/2026
Last weekend, S o Paulo buzzed with energy as Bad Bunny took the stage for two n...
24/02/2026
eds3_5_jq(document).ready(function($) { $(#eds_sliderM519).chameleonSlider_2_1({...
24/02/2026
Disney Captures 11.9% of TV in January, Boosted by ESPN's ( 82%) College Foo...
24/02/2026
Bitcentral, the leading provider of professional media solutions for broadcast and digital video, today announced that Griffin Media, an Oklahoma-based multimed...
24/02/2026
Intinor announces the appointment of Ideal Systems as an authorized reseller, covering Singapore, Malaysia and Indonesia, and strengthening local access to resi...
24/02/2026
Di TV implements its own nxtedition platform for continuity
Dagens Industri, the popular Swedish financial publisher, has moved to a new base in the Nasdaq bu...
24/02/2026
Appear, a global leader in live production technology, today announced that its X Platform has been officially verified by YouTube for Secure Reliable Transport...
24/02/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
24/02/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
24/02/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
24/02/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
24/02/2026
Cobalt Digital, the leading designer and manufacturer of award-winning ST 2110 and SDI signal processing products, and a founding partner in the openGear initi...
24/02/2026
Paul C. Brunson: Red Flag to be produced by FirstLookTV and launch in 2026
UKTV...
24/02/2026
This year, we're back at the Media Production and Technology Show (MPTS) in London. As always, we're looking forward to catching up with existing contac...
24/02/2026
We are pleased to announce that Pete Whiteway is joining the dB Technology Group as a Senior Systems Engineer. Pete brings over 20 years of experience in broadc...
24/02/2026
End-to-End Transparency in the Supply Chain You Can Touch
The team at LogiMAT 2025 - from left: Michael Dreimann, Andr Haff, Nicolas Lapp, Bernd Jaschinski-...
24/02/2026
Katharine Wolinska appointed to lead Partnerships
RT Commercial has announced ...
24/02/2026
AI is accelerating every aspect of healthcare - from radiology and drug discover...
23/02/2026
Dignity Health Sports Park, a multi-use sports complex in Carson, Calif., and Da...
23/02/2026
The Gotham Sports App, the exclusive direct-to-consumer streaming home of MSG Networks and the YES Network, is introducing more choice and value with new packag...
23/02/2026
Cobalt Digital, a designer and manufacturer of ST 2110 and SDI signal processing products, and a founding partner in the openGear initiative, announces that its...
23/02/2026
Telos Alliance, which has specialized in broadcast audio for more than three dec...
23/02/2026
Prompted Playlist is expanding in beta to Premium listeners in the U.K., Ireland...
23/02/2026
When Spotify launched in Nigeria in February 2021, the very first song a user st...
23/02/2026
L3Harris hypersonics concept illustration....
23/02/2026
By combining their innovative spirit and technical expertise, L3Harris engineers are solving our customers most urgent challenges and shaping a better tomorrow....
23/02/2026
aconnic AG (ISIN: DE000A0LBKW6), Munich, will present its latest cybersecurity, ...
23/02/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
23/02/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
23/02/2026
X-Rite Pantone Launches Event Series to Modernize Textile Color Workflows
X-Rite Pantone, the global authority in color standards and color science, today a...
23/02/2026
Back to All News
Netflix Greenlights New Romcom Film Messily Ever After' (...
23/02/2026
Back to All News
Netflix Announces £1 Million Donation To National Film And Television School
Social Impact
23 February 2026
GlobalUnited Kingdom
Link copi...