Object-Space Shading for Graphics Rendering

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing graphics processing techniques face challenges in maintaining high frame rates for high-resolution displays due to temporal instability in low-rate screen-space shading, undersampling of shading terms, and the coupling of shading and visibility rates, leading to visual artifacts and reduced geometric detail.

Innovation Solution

The implementation of object-space shading using a dynamic object-space grid, where a shading sample rate is computed based on screen-space derivatives, allowing for variable-rate shading decoupled from visibility testing, and enabling efficient computation of shaded attributes with reduced temporal artifacts.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If low-rate screen-space shading is used to reduce shading workload, then productivity is improved, but temporal stability deteriorates causing shimmering and flickering artifacts

Engineering Contradiction:
Improveshading workload reductionVSAvoidtemporal stability
Core Design Contradiction:
ProductivityVSStability of the object's composition

Solution Approach 1:

The patent applies dynamics by transitioning from static screen-space aligned shading to dynamic object-space shading. The shading rate becomes adaptive based on object motion and scene complexity, allowing the system to maintain temporal stability when objects move while reducing shading workload in static regions. This resolves the contradiction by making the shading approach flexible rather than fixed.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent implements local quality by applying different shading rates to different regions of the scene based on their specific characteristics. High-frequency regions with specular illumination and detailed normal maps receive higher shading rates to prevent artifacts, while low-frequency regions use lower rates to reduce workload. This selective approach resolves the contradiction by optimizing shading quality locally rather than uniformly across the entire scene.

Inventive Principle:
Principle #3Local quality

2Productivity

If shading rate is lowered below once per pixel, then productivity is improved, but measurement precision deteriorates causing shading samples outside parent primitive

Engineering Contradiction:
Improveshading rate reductionVSAvoidshading sample accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The patent changes the fundamental parameter of shading coordinate space from screen-space to object-space. This transformation allows the system to maintain precise tracking of shading sample locations relative to parent primitives even at reduced rates. By working in object-space where primitive boundaries are well-defined, the system can accurately determine which samples fall within primitives, resolving the precision issue while maintaining productivity gains.

Inventive Principle:
Principle #35Parameter changes

3Productivity

If upscaling low-resolution images is used, then productivity is improved, but visibility rate coupling reduces geometric detail perception

Engineering Contradiction:
Improverendering efficiencyVSAvoidgeometric detail perception
Core Design Contradiction:
ProductivityVSManufacturing precision

Solution Approach 1:

The patent applies segmentation by decoupling the visibility testing rate from the shading rate. This allows independent optimization of each process: visibility testing can occur at full rate to maintain geometric accuracy, while shading can occur at reduced rates to improve productivity. The segmentation of these previously coupled operations resolves the contradiction by allowing each to operate at its optimal rate.

Inventive Principle:
Principle #1Segmentation

4Productivity

If multi-rate screen-space shading is used to reduce shading workload, then productivity is improved, but frame rate consistency deteriorates

Engineering Contradiction:
Improveshading workload reductionVSAvoidframe rate consistency
Core Design Contradiction:
ProductivityVSSpeed

Solution Approach 1:

The patent implements dynamics by making the shading rate adaptive to scene content and object motion rather than static. The system dynamically adjusts shading rates based on real-time conditions, maintaining consistent frame rates by balancing workload across frames. This resolves the inconsistency issue by introducing adaptability that responds to actual rendering demands.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS9747718B2System, method, and computer program product for performing object-space shading
Publication Date: 2017.08.29 NVIDIA CORP
  • US9747718B2 patent drawing
  • US9747718B2 patent drawing
  • US9747718B2 patent drawing

AI summary

A system, method, and computer program product are provided for performing object-space shading. A primitive defined by vertices in three-dimensional (3D) space that is specific to an object defined by at least the primitive is received and a shading sample rate is computed for the primitive based on a screen-space derivative of coordinates of a pixel fragment transformed into the 3D space. A shader program is executed by a processing pipeline to compute shaded attributes for the primitive according to the computed shading sample rate.