
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 ...
06/09/2026
June 9 2026, 23:00 (PDT) Dolby and MagentaTV Bring Fans Closer to the FIFA Worl...
04/08/2026
Dalet, a leading technology and service provider for media-rich organizations, t...
09/07/2026
With 50+ cameras, three trucks, 60+ EVS channels, RFID hole-card workflows, and ...
09/07/2026
A recent graduate from Westchester, NY, this experienced technician has already started her first gig in the industry, as a REMI A2 Comms Specialist at ESPN
In...
09/07/2026
Live sports production is a fast-paced industry with no signs of slowing down. W...
09/07/2026
From a rooftop studio in Manhattan, multiple Germany-based companies share respo...
09/07/2026
Overtime has announced a content partnership with FOX One to produce Race to Glo...
09/07/2026
Clear-Com has announced that Ross Production Services (RPS) has standardized on ...
09/07/2026
The NFL has announced that NetApp will return as Presenting Partner of the NFL Madrid Game, featuring the Atlanta Falcons against the Cincinnati Bengals at the ...
09/07/2026
The R&A and Cisco have announced a multi-year partnership making Cisco the Official Network Supplier of The R&A and its Championships. Cisco will deploy AI-read...
09/07/2026
Fox Television Stations, Extreme Reach (XR), and LTN have announced the completi...
09/07/2026
Kiswe has announced a partnership with Wynn Records to launch the Wynn Records Network streaming platform, debuting Saturday, July 11 with a Salita Promotions b...
09/07/2026
NEP Europe has announced a new multi-year agreement with Wimbledon Broadcast Ser...
09/07/2026
Thropic Games, a company offering casual mobile games tied to fan fundraising for sports programs, has announced a pre-seed funding round led by The Famous Grou...
09/07/2026
Game Creek Video has reached an agreement with Grass Valley to purchase 10 K-Frame production switchers as part of a two-year fleet expansion. Two systems have ...
09/07/2026
Gravity Media is delivering a three-hub remote production workflow for ITV's...
09/07/2026
A new report from Quickplay and Caretta Research, The Broadcaster Revolution Wi...
09/07/2026
DAZN, the world's leading sports entertainment platform, has announced a long-term strategic partnership with the Esports World Cup Foundation to serve as t...
09/07/2026
The regional sports network is staying busy this summer with broadcasts of the N...
09/07/2026
Latest analogue-emulation plug-ins revealed
Universal Audio have just added two new analogue-emulation plug-ins to their DSP-powered UAD line-up. Developed ...
09/07/2026
Limited-edition mic celebrates rock icon
Neumann have partnered with the Bon Scott Estate to create a limited-edition version of the U 47 FET that honours b...
09/07/2026
Handles organisation, updates, troubleshooting & more
Created by pro-audio software developer Julian Worden, Plugin Station from Julian Michael Technologies...
09/07/2026
Introduces new $1 million advance programme
LANDR have just announced the next phase of their Fair Trade AI programme, a pioneering opt-in music-licensing p...
09/07/2026
Four new titles now available
Spitfire Audio have just introduced four new titles in their Originals range, bringing the total count of libraries in the low...
09/07/2026
SBS statement Royal Commission on Antisemitism and Social Cohesion
9 July, 2026
Media releases
SBS acknowledges the gravity of the matters before the Roy...
09/07/2026
08 July 2026, Johannesburg - The National Film and Video Foundation (NFVF), an a...
09/07/2026
Blackmagic Design Announces New UltraStudio Express 3G
Brie Clayton July 9, 2026
0 Comments
New extremely portable capture and playback models with 3G...
09/07/2026
Miri Introduces Self-Service Cellular Data and SIM Card Management Platform for ...
09/07/2026
Riedel Communications today announced that the Hong Kong Jockey Club (HKJC), one of Asia's most prestigious horse racing organizations, has significantly up...
09/07/2026
Leading North American mobile production facility provider standardizes on Grass Valley's fully IP-native K-Frame production switchers for its fleet of next...
09/07/2026
Miri Technologies Inc. is rolling out a new online portal that provides customers and resellers with self-serve management tools and usage analytics for the com...
09/07/2026
Share
Copy link
Facebook
X
Linkedin
Bluesky
Email...
09/07/2026
Cinematographer Aakash Subramaniam, WICA faced a conceptual challenge: how could he make a film about dying that doesn't feel like one? The film, Our Weird...
09/07/2026
Years in the making, this intimate documentary draws on rare access to Leah Crouchers family to tell the story behind one of Britains most high-profile missing ...
09/07/2026
Thursday 9 July 2026
Enjoy Gigafast speeds and Ultimate TV pack for less
The latest deals have dropped from Sky TV and Sky Broadband, the award-winning provid...
09/07/2026
Hands up who would like to dress up as a giant crisp packet?
The call that went out across the agency as our anti-litter campaign, Wish you weren't here fo...
09/07/2026
This GFN Thursday brings more games, more power and more ways to play on GeForce NOW.
The cloud gaming service is expanding with a new GeForce RTX 5080-powere...
08/07/2026
The end of the Big A' marks the demise of one more iconic sports venue and its signature sound
After 132 years as one of the preeminent horse-racing track...
08/07/2026
Memphis Athletics and Learfield have signed a long-term renewal to their 25-year relationship, which sees Learfield's Tiger Sports Properties continue repre...
08/07/2026
MLB All-Star Week returns to Philadelphia for the first time in 30 years as Amer...
08/07/2026
Former Wall Street Video event expanded to include all Enterprise sectors
SVG Enterprise has announced the inaugural Enterprise Video Summit, taking place Oct....
08/07/2026
An offseason project enhanced eight video displays around the venue in time for ...
08/07/2026
Kaseya Center has a ton of new features that weren't available to the indust...
08/07/2026
The International Federation of Film Critics (FIPRESCI) and the Sundance Film Festival are pleased to announce the establishment of a FIPRESCI jury beginning wi...
08/07/2026
Latest analogue-emulation plug-ins revealed
Universal Audio have just added two new analogue-emulation plug-ins to their DSP-powered UAD line-up. Developed ...
08/07/2026
Turn any audio loop into a playable kit
Pitch Innovations have recently introduced an interesting new tool that's capable of creating playable kits from...
08/07/2026
Adds new keyboard-split function
MonkeyC have recently launched an update that overhauls their powerful software sampler. Described as the sampler that mad...
08/07/2026
Four new delay algorithms & dual-engine functionality
Strymon have just announced that the much-anticipated MX version of their hugely popular delay pedal i...
08/07/2026
Well over half of Australia have tuned in to watch the FIFA World Cup on SBS
7 July, 2026
Media releases
Australia's Round of 32 match against Egypt a...