
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
11/12/2025
Dalet, a leading provider of cloud-native, end-to-end media workflow solutions, ...
09/12/2025
2025 Sports Broadcasting Hall of Fame: Pam Oliver, Sideline Icon Who Redefined t...
09/12/2025
SVG Summit 2025 Technology Exhibits Preview, Part 2By Jason Dachman, Editorial Director, U.S.
Tuesday, December 9, 2025 - 7:17 am
Print This Story | Subscr...
09/12/2025
SVG Summit 2025 Preview: Cloud Production Workshop Spotlights Live and Non-Live ...
09/12/2025
Next-generation content protection: Multi-technology security is integral to com...
09/12/2025
CBS Sports Provides One-of-a-Kind Production' for UEFA Champions League Cro...
09/12/2025
Spanish Professional Basketball League Relies on NETGEAR AV, MAM Tech for Seamle...
09/12/2025
SVG Sit-Down: St. Thomas's Mike Gallagher and Casey Eakins on the Tommies...
09/12/2025
Free Registration for the 2025 SVG Summit Closes Today at 5 p.m. ET!After the deadline, tickets will cost $150 to attend the eventBy SVG Staff
Tuesday, Decemb...
09/12/2025
University of St. Thomas Ushers in Division I Era With New Arena and a Broadcast...
09/12/2025
For decades, music videos have done more than just accompany a song; they've shaped style, started conversations, and helped us fall in love with our favori...
09/12/2025
For decades, customers have turned to L3Harris capabilities in electronic warfar...
09/12/2025
L3Harris propulsion systems enable agile maneuvering and resilience for U.S. spacecraft, supporting national security and mission success in the evolving space ...
09/12/2025
L3Harris Technologies' imaging and sounding instruments will play a critical...
09/12/2025
LOS ANGELES James Shears has joined ThinkAnalytics as senior vice president, advertising, tasked with leading global strategy and commercial expansion of the co...
09/12/2025
VIENNA, Va. The Media Institute, a nonprofit, nonpartisan organization specializing in communications policy and the First Amendment, has named Kathleen Kirby o...
09/12/2025
Throughout its century-plus existence, the motion picture industry has had to fight battles on multiple fronts to protect its content from piracy. From protecti...
09/12/2025
NEW YORK Fueled by football season, ad supported TV viewing in Q3 peaked in September, representing 74.7% of overall TV viewership in that month, per Nielsen...
09/12/2025
LYNDONVILLE, N.Y. Digital Alert Systems has introduced the DAS3-DC-PS, a new DC power supply option for its DASDEC-III emergency alert system. Designed to meet ...
09/12/2025
Advanced Systems Group, LLC (ASG), a technology and services provider for media creatives and content owners, announced the appointment of Macky Beheshti as Dir...
09/12/2025
Triveni Digital and Device Solutions Inc today announced that the United States Patent and Trademark Office granted them a new patent for their novel ATSC 3.0 r...
09/12/2025
ThinkAnalytics, the global leader in AI-powered data analytics for TV and streaming, today announced the appointment of James Shears as Senior Vice President of...
09/12/2025
European data management specialists appointed as SingleStore champion partner, bringing unified real-time transaction, vector and analytics capabilities to org...
09/12/2025
Broadcast Solutions, the leading systems integration group, has launched a new business, aimed at providing consultancy and design services across the media ind...
09/12/2025
WASHINGTON The Federal Communications Commission's Media Bureau has once again delayed implementation of sponsorship identification requirements for foreign...
09/12/2025
WASHINGTON #GALSNGEAR has announced two major leadership retreats in early 2026 that the group said are designed to equip women in media, entertainment, and tec...
09/12/2025
WASHINGTON With a Dec. 15 deadline looming for a new retransmission consent and carriage deal between Cox and Verizon, the two parties have started trading barb...
09/12/2025
SAN FRANCISCO Samba TV has announced that it has secured new financing from Horizon Technology Finance Corporation, an affiliate of Monroe Capital, with an init...
09/12/2025
Many cord-cutters looking to reduce their monthly cable or satellite bills are also cutting back on streaming costs, according to new research from All About Co...
09/12/2025
LAS VEGAS and NASHVILLE, Tenn. Shure technology played a critical role during the broadcast productions of the 59th Annual CMA Awards at the Bridgestone Arena i...
09/12/2025
Unveiling of new CV1, web-browser workflows and Milan roadmap for mission-critical AV environments
Nixer Pro Audio will return to Integrated Systems Europe (IS...
09/12/2025
Spring Forward Are you ready to spring forward? The following steps will automate your transition from Standard Time to Daylight Saving Time.
Ensure all WO Aut...
09/12/2025
Tuesday 9 December 2025
Judy Murray calls for PE to be a priority for all schoo...
09/12/2025
Kyocera and Rohde & Schwarz demonstrate OTA characterization of mmWave PAAM at C...
09/12/2025
Wuppertal December 9, 2025
Riedel and Racing Electronics Announce Strategic Pa...
09/12/2025
Verified: LinkedIn crosses 100M member milestone From LinkedIn Published on Dec 9, 2025 Categories: Company News, Featured News
LinkedIn Corporate Communi...
09/12/2025
Another year, another 12 months of amazing adventures.
We are pleased to bring you our Highlights of the Year 2025.
We've worked hard and played hard this...
09/12/2025
Original article published in TV Tech: https://www.tvtechnology.com/equipment/bmg-redefines-remote-production-through-cloud-connected-workflows
When I started ...
09/12/2025
DPA Microphones today announces the immediate availability of its new N-Series Digital Wireless Microphone System for customers throughout the U.S. In addition ...
09/12/2025
Jason, before we get into the detail, what first got you involved in retail media standards? And how did you come to chair IAB Europe's Retail and Commerce ...
09/12/2025
Current Rose of Tralee Katelyn Cummins has been revealed as the third contestant...
09/12/2025
An easier approach to recreate the powerful nerve-blocking molecule found in shellfish A Scripps Research-led study resolves the challenge of synthesizing saxit...
08/12/2025
SVG Summit 2025 Technology Exhibits Preview, Part 1By SVG Staff
Monday, December 8, 2025 - 6:56 am
Print This Story | Subscribe
Story Highlights
The 2025...
08/12/2025
2025 Sports Broadcasting Hall of Fame: Bill Rasmussen, the Entrepreneur Who Drea...
08/12/2025
SVG Summit 2025 Preview: Live Production Innovation Workshop Goes Deep on ST 211...
08/12/2025
#GALSNGEAR Announces East, West Leadership Retreats for 2026By Ken Kerschbaumer
Monday, December 8, 2025 - 9:10 am
Print This Story | Subscribe
Story High...
08/12/2025
MediaKind Acquiring Harmonic's Video Business to Create New Streaming-Video ...
08/12/2025
Platinum White Paper: Sony HDR/SDR Camera Shading Techniques for Live Production...
08/12/2025
SVG Sit-Down: NESN's Kenny Elcock and Harmonic's Jean Macher Talk Next-G...
08/12/2025
Monsters Funday Football,' ESPN's Latest Live Animation Effort, Advances...