
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 ...
28/10/2026
SDI Failsafe IP Routing: Inside the UTAH-400 Series 2 Router A pure-IP routing core has no inherent fallback. When the ST 2110 network degrades, when the PTP gr...
28/10/2026
MLB Network is nearly all-day media day coverage across MLB Now, MLB Central, ML...
28/10/2026
Voyage Audio and Shure microphones are in the forefront of the sector's transition to digital
Microphones may have come late to the digital table, but they...
28/10/2026
Having long resisted the transition, broadcast audio's most fundamental element is finally entering the digital era
About 25 years ago, a microphone manufa...
28/10/2026
The Wireless Microphone Spectrum Alliance (WMSA), formed in 2025 to raise awareness with government entities about wireless microphone operations, has held meet...
28/10/2026
Telos Aliiance was at the recently held IBC in Amsterdam once again representing its brands which include Axia Audio, Omnia Audio, Telos Systems, 25-Seven Syste...
28/10/2026
SPORTEL Monaco 2026 wrapped up three days of high-level business, international ...
28/10/2026
By Ramona Flume
One of the most exciting things about the Sundance Film Festiva...
28/10/2026
By Jessica Herndon
One of the most exciting things about the Sundance Film Fest...
28/10/2026
Co-Presented by Letterboxd
BOULDER, Colorado, October 21, 2026 - The nonprofit Sundance Institute announced today the Legacy program for the 2027 Sundance Film...
28/10/2026
Two full-range, flat-response amps revealed
Moog's latest announcement may come as a bit of a surprise to many, as rather than introducing a new synth, ...
28/10/2026
Annual event returns for 12th year in Bristol, UK
Returning for its 12th year, the annual Audio Developer Conference is set to take place between 9-11 Novem...
28/10/2026
Automation updates, Dim Solo mode, multiple Marker Tracks, MIDI 2.0 support & much more
The latest version of Fender's DAW software has just arrived, de...
28/10/2026
Combines tuning & harmony generation
Klevgrand's latest release offers a simplified take on Altitude, the pitch-correction and harmony-generation plug-i...
28/10/2026
Digital Originals backs the next wave of Australian screen talent
28 October, 2026
Media releases
SBS, National Indigenous Television (NITV) and Screen Aus...
28/10/2026
Behind every jinx is a story: Comedian Ting Lim takes a light-hearted look at su...
28/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
28/10/2026
Sift Clips Now Searches Frame.io Footage
Brie Clayton October 28, 2026
0 Comments
Frame.io search has now been added to Sift Clips. This new feature l...
28/10/2026
Choco Film Adopts DaVinci Resolve Studio and Blackmagic Cloud for Its Editing Wo...
28/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
28/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
28/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
28/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
28/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
28/10/2026
Rise AV has announced the 23 women selected for its 2026 Elevate programme, bringing together professionals from 20 organisations across the UK, Ireland, German...
28/10/2026
MTV Oy, Finland's largest commercial broadcaster, has long been recognized for its ability to deliver fast, reliable and engaging content across news, curre...
28/10/2026
LA JOLLA, CA-The shifty hepatitis C virus (HCV) has a knack for outmaneuvering t...
28/10/2026
Digital Originals backs the next wave of Australian screen talent 28 October 2026
2026 Digital Originals cohort. Photo credit: Teniola Komolafe.
SBS, National...
28/10/2026
COW Jobs: Managing Video Editor - Remote
Brie Clayton October 27, 2026
0 Comments
Managing Video Editor
October 27, 2026COW Jobs: Production......
28/10/2026
COW Jobs: Production Manager
Brie Clayton October 27, 2026
0 Comments
Production Manager
October 27, 2026COW Jobs: Managing Video Editor -......
28/10/2026
Wednesday 28 October 2026
Claire Goodlass joins Sky as Commissioning Editor, Documentaries
Sky has appointed Claire Goodlass as Commissioning Editor, Document...
28/10/2026
Proximic by Comscore Expands Integration Across Magnites CTV Ecosystem First real-time contextual integration across Magnite SpringServe connects audience int...
28/10/2026
NVIDIA RTX Spark powers thin and light laptops built for everything that developers, creators and gamers do.
RTX Spark laptops are now available from ASUS, Del...
28/10/2026
RT is developing its next Statement of Strategy and wants to hear the views of people across Ireland the audience we serve. RT New Direction remains RT '...
27/10/2026
Satellite, bonded cellular, and IP- and cloud-based solutions. Those are three o...
27/10/2026
Eutelsat has renewed its partnership with Qatar Media Corporation (QMC), Qatar...
27/10/2026
PROTON Camera Innovations GmbH will show the PROTON FLEXY at SATIS 2026 (Booth A13-B12), after the camera won a Best in Market award in the ProAV category at IB...
27/10/2026
ATSC, the Broadcast Standards Association, has reported results from a laboratory validation and live demonstration in Brazil of interference cancellation and s...
27/10/2026
The PGA Tour announced Monday that Brian Gordon has joined PGA Tour Studios as executive producer and head of live content. He began with the Tour on Oct. 26 an...
27/10/2026
The NBA has announced agreements to establish a framework for NBA-related predic...
27/10/2026
Apple Music, the NFL and Roc Nation have announced that JAY-Z will perform at the Apple Music Super Bowl LXI Halftime Show at SoFi Stadium in Los Angeles on Sun...
27/10/2026
DIRECTV and DAZN have signed a multi-year distribution agreement for local telec...
27/10/2026
The NHL has announced NHL Monday Night Hockey, a new initiative that will bring 11 live NHL games to fans across Europe in local primetime windows on Monday nig...
27/10/2026
Telef nica Servicios Audiovisuales (TSA) has deployed Grass Valley AMPP for Movi...
27/10/2026
SES and CANAL have extended their partnership through 2040 with a multi-year agreement covering satellite capacity across Europe, Africa and the Caribbean.
Un...
27/10/2026
Gravity Media deployed a flypack production system and RF cameras for Red Bull R...
27/10/2026
Appear has announced that NSC TV, a TV Globo affiliate in Brazil, has selected t...
27/10/2026
MLB's Ryan Zander discusses the league's work to integrate the ABS Chall...
27/10/2026
Pictured: Filmmaker Vero Kompalic (Photo by Gia Rigoli)
By Vero Kompalic
This is the last picture I ever took in Venezuela.
I had seen the girl in the row ah...