
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 ...
25/10/2026
New 76-key model joins the CK61 and CK88
Yamaha have added a third model to their CK range of portable stage keyboards with the CK76. This brings a 76-key o...
25/10/2026
Do Not Play It By Ear: Next The PrePros Will Focus On All Things Music & Sound
Brie Clayton October 25, 2026
0 Comments
Panel Features Sonic Union, 72...
25/10/2026
Zebra Streaming Equips OB Truck with Blackmagic Design
Brie Clayton October 25, 2026
0 Comments
Designed to scale, the unit packs a range of gear to d...
24/10/2026
Added to the broadcast lineup are 4K and 8K Nucleus cameras, more AR initiatives, two aerial drones, a fleet of high-speed cameras
FOX Sports will broadcast Ga...
24/10/2026
By Ramona Flume
For members of the LGBTQ community around the world, love can ...
24/10/2026
Creative morphing multi-effects with XY control
Sample Logic have launched Quadra, a multi-effects plug-in built around an XY pad that blends between four s...
24/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
24/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
24/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
24/10/2026
Hit Horror Film Buddy Created with DaVinci Resolve Studio
Brie Clayton October 23, 2026
0 Comments
Colorist Sam Daley created authentic 90s kids'...
23/10/2026
CBS Sports will be the exclusive U.S. Spanish-language rights holder for the Con...
23/10/2026
Fubo has announced new distribution agreements for carriage of seven regional sports networks for the 2026-27 NBA season. Through those agreements, the Fubo str...
23/10/2026
CBC/Radio-Canada has selected Dalet to modernize its news operations across Canada, deploying Dalet Pyramid across the organization. CBC/Radio-Canada operates 2...
23/10/2026
EZDRM has been granted US patent 12,659,532 for a method of delivering DRM-protected content over low-latency WebRTC (Web Real-Time Communication) infrastructur...
23/10/2026
Audio-Technica has acquired a new facility in the Hollywood Media District in Hollywood, California, expanding its U.S. operations. The 8,966-square-foot, two-s...
23/10/2026
Audio-Technica (booth 514) will display its studio and live sound microphones and headphones at AES Show Nashville 2026, taking place Saturday, Oct. 31, and Sun...
23/10/2026
As regional sports networks (RSNs) decline, teams and leagues are producing more...
23/10/2026
Acceleration Community of Companies (ACC) has released The People's Games: W...
23/10/2026
GameTime Productions is using Stripe TV's Lightbox and Telestripe wireless t...
23/10/2026
CLOUDflex Broadcast has announced a direct integration with ZoomISO Cloud, Zoom's remote contribution solution for cloud-based media production systems. Dev...
23/10/2026
TMRW Sports has appointed Chris Zaber senior vice president of ticketing and venue experience as the company continues to build out its portfolio of sports prop...
23/10/2026
The BBQ World Cup & Expo has announced an investment from Wheelhouse, the content, talent and investment company founded by Brent Montgomery, and Omaha Producti...
23/10/2026
BKB Bare Knuckle Boxing and Bally's Corporation have unveiled Bally's Fi...
23/10/2026
Yahoo Sports has launched Perfect 5, a free-to-play fantasy basketball game tied to each week's marquee NBA on Prime matchups. It is designed to run alongsi...
23/10/2026
At the SVG Remote Production Summit at Techwood Studios in Atlanta, Steve Grigel...
23/10/2026
Fox Sports will broadcast game one of the 122nd World Series tonight from Milwaukee as the Milwaukee Brewers and Tampa Bay Rays square off. And with a crew of 4...
23/10/2026
Emmy-winning Culver City studio, bicoastal Game Creek Video mobile units return ...
23/10/2026
A playoff season featuring three series sweeps allows broadcast crews extra time...
23/10/2026
Creative and versatile echo effect
fedDSP have released ECO, a delay plug-in designed to cover everything from straightforward repeats to more experimental ...
23/10/2026
A FREE hypersaw synth in time for Halloween
UJAM have announced Detunicorn, a free collectable synthesizer plug-in designed to produce the thick, detuned hy...
23/10/2026
(4:10 PM) Wiesbaden, October 23, 2026. As part of the restructuring of the forme...
23/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
23/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
23/10/2026
Territory Group Launches Lux Meridian, New AI-Native Film and Television Product...
23/10/2026
SipRadius, widely recognized for making content processing and connectivity secure and seamless, has responded promptly to the global issue of PHP vulnerabiliti...
23/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
23/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
23/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
23/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
23/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
23/10/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
23/10/2026
A Brand New, Ultra-high-performance Remote Followspot Control System
Ayrton has released Falconer, a brand-new, ultra-high-performance remote followspot system...
23/10/2026
LA JOLLA, CA-The newly launched Wertheim Laureate Prize invites Nobel laureates ...
23/10/2026
Vegas Pro Delivers Professional Color Management and Faster Renders
Jessie Electa Petrov October 22, 2026
0 Comments
The 2027 release from Boris FX st...
23/10/2026
Blackmagic Design Announces Price Increases Due to Rising Memory Costs
Brie Clayton October 22, 2026
0 Comments
New prices across a range of products ...
23/10/2026
Berklee Welcomes Marcus Gilmore for Signature Series Performance The two-time Grammy Award-winning drummer, composer, producer, and bandleader will also lead ...
23/10/2026
Season 30 of The Voice Features a Record Number of Berklee Alumni Learn more about Dakota Cohen, Brandon Diaz, Nina Howland, and Zalissa Stewart, plus how the...
23/10/2026
Supercast Launches Email Newsletter Feature, Allowing Top Creators to Reach Fans...
23/10/2026
Can Danny and Dani's grand plans save Christmas, or are they heading for a festive fiasco?Friday 23 October 2026
The Dyers' Caravan Park: A Merry Elfin...