Soft Shadow Rendering via Light Viewpoint Frustum Evaluation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Real-time rendering algorithms in computer graphics struggle to generate realistic soft shadows, especially for dynamic scenes and translucent or colored objects, due to their harsh boundaries and computational inefficiencies.

Innovation Solution

A method that renders a scene from both the camera and light viewpoints, using frustums to evaluate light fragments and determine shading values for scene fragments, allowing for the creation of realistic soft shadows without pre-processing, suitable for real-time rendering and adaptable to conventional and parallel processing systems.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If ray tracing and global illumination rendering algorithms are used, then shadow realism is improved, but computational cost increases making them unsuitable for real-time rendering

Engineering Contradiction:
Improveshadow realismVSAvoidreal-time rendering capability
Core Design Contradiction:
Manufacturing precisionVSProductivity

Solution Approach 1:

The patent segments the shadow rendering process into distinct phases: geometry tessellation, transformation, clipping, rasterization, lighting/shading, and blending/compositing. By dividing the complex ray tracing algorithm into these manageable segments that can be executed in parallel on GPU hardware, the patent achieves real-time performance while maintaining shadow realism.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent replaces the traditional CPU-based sequential ray tracing mechanism with a GPU-based parallel processing architecture. The graphics processing subsystem executes multiple rendering operations simultaneously using vertex shaders, fragment shaders, and parallel geometry processing, substituting the mechanical sequential system with a parallel electronic processing system that achieves real-time performance.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Productivity

If typical shadow volume and shadow mapping techniques are used, then real-time rendering is achieved, but shadow boundaries become harsh and unrealistic

Engineering Contradiction:
Improvereal-time rendering speedVSAvoidshadow boundary softness
Core Design Contradiction:
ProductivityVSManufacturing precision

Solution Approach 1:

The patent applies local quality by implementing soft shadow calculations only in the penumbra regions where boundary softness is needed, rather than applying it uniformly across all shadow areas. The rendering system calculates accurate soft boundaries in transition zones while maintaining efficient hard shadow calculations in fully shadowed regions, achieving realism without sacrificing real-time performance.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent uses partial action by implementing selective soft shadow calculation. Instead of calculating soft shadows for all fragments, the system performs soft shadow calculations only for fragments that lie in partial shadow regions, determined by evaluating multiple samples per fragment. This partial application of soft shadow algorithms maintains real-time performance while producing realistic soft boundaries where needed.

Inventive Principle:
Principle #16Partial or excessive action

3Manufacturing precision

If image filters, multiple samples, and multiple rendering passes are used to generate soft shadows, then shadow quality improves, but processing time increases and pre-processing is required

Engineering Contradiction:
Improvesoft shadow qualityVSAvoidprocessing time
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The patent performs preliminary action by pre-calculating and storing geometry data in vertex buffers and index buffers during the geometry tessellation phase. This pre-processing of geometric information allows the subsequent rendering passes to operate efficiently on already-prepared data structures, reducing the time required for soft shadow calculations during real-time execution.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent maintains continuity of useful action by implementing a multi-pass rendering system where each pass builds upon the previous pass's results. The vertex shader, geometry shader, rasterizer, fragment shader, and blend operator work in continuous sequence without interruption, processing fragments through multiple sampling passes to generate soft shadows continuously rather than requiring separate batched operations.

Inventive Principle:
Principle #20Continuity of useful action

4Device complexity

If conventional rendering systems are used, then implementation simplicity is maintained, but parallel processing efficiency is underutilized

Engineering Contradiction:
Improveimplementation simplicityVSAvoidparallel processing efficiency
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The patent implements universality by designing a rendering pipeline where the same GPU hardware and shader programs handle multiple functions: geometry processing, visibility determination, lighting calculations, and soft shadow generation. The graphics processing subsystem universally processes all rendering operations using the same parallel architecture, eliminating the need for separate specialized hardware for each function and maintaining implementation simplicity while maximizing parallel efficiency.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS8223149B2Cone-culled soft shadows
Publication Date: 2012.07.17 SONY INTERACTIVE ENTERTAINMENT LLC
  • US8223149B2 patent drawing
  • US8223149B2 patent drawing
  • US8223149B2 patent drawing

AI summary

Soft shadows in computer graphics images are created by rendering the scene from the camera viewpoint and at least one light viewpoint. The positions of scene fragments and light fragments in the scene are stored. For each scene fragment, a frustum is defined between the position of the scene fragment and the light source. Light fragments are evaluated with respect to the frustum to select light fragments blocking light between the light source and the scene fragment. A color or monochromatic shading value is determined for each scene fragment that indicates the amount of light blocked or transmitted by the light fragments. The shading values are then used to alter scene fragments accordingly. Computer graphics images with soft shadows can be created entirely by a graphics processing subsystem or by a graphics processing subsystem in conjunction with a central processing unit using a pipelined, deferred shading approach.