Grayscale Shader Masks for Lower Memory and Rendering Time

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Computer simulations, such as computer games, face challenges with increasing memory space and processing time requirements due to sophisticated graphics, particularly in shading operations.

Innovation Solution

A system that combines first and second grayscale images with colors using gradient descent to render a test image, minimizing a loss function to generate a final color image, which can be output to a computer simulation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If sophisticated graphics are used in computer simulations, then visual quality is improved, but memory space and processing time requirements increase

Engineering Contradiction:
Improvevisual qualityVSAvoidmemory space
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent segments the color image into multiple grayscale images (e.g., two grayscale images combined with four colors). This segmentation allows the system to store and process multiple simpler grayscale images instead of a single complex color image, reducing overall memory requirements while maintaining visual quality through the combination of grayscale images and color channels.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent changes the parameter representation from storing full color images to storing grayscale images with associated color parameters. By using gradient descent to optimize the combination of grayscale images and colors, the system achieves efficient memory usage while preserving visual fidelity through parameter optimization.

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If sophisticated graphics are used in computer simulations, then visual quality is improved, but processing time increases

Engineering Contradiction:
Improvevisual qualityVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent applies gradient descent in advance to pre-optimize the combination of grayscale images and color parameters before rendering. This preliminary optimization step creates pre-computed shader masks and parameters that can be efficiently applied during runtime, reducing processing time during actual simulation while maintaining high visual quality.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent replaces traditional mechanical shading operations with a machine learning-based approach using gradient descent. By substituting complex real-time shading calculations with pre-computed neural network outputs and optimized parameter combinations, the system reduces processing time while maintaining or improving visual quality.

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

3Quantity of substance

If gradient descent is used to optimize image rendering, then memory requirements are reduced, but computational complexity increases

Engineering Contradiction:
Improvememory requirementsVSAvoidcomputational complexity
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The patent uses grayscale images as simplified copies or representations of the original color image information. By working with multiple grayscale images instead of full color data during the gradient descent optimization, the system reduces memory requirements and computational complexity while still being able to reconstruct the full color image through the combination of grayscale images and color parameters.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS12406424B2Auto-generated shader masks and parameters
Publication Date: 2025.09.02 SONY INTERACTIVE ENTERTAINMENT LLC
  • US12406424B2 patent drawing
  • US12406424B2 patent drawing
  • US12406424B2 patent drawing

AI summary

A graphics shader takes in two grayscale images (called “masks”) and four colors and generates a full-color image. The logic behind the shader is two-fold. First, separating the colors from the image enables a greater variety of images (for example, change one color to get different colored brick walls), and secondly, two grayscale masks take up less space in memory than a full-color image. A script that uses differentiable programming and gradient descent “finds” the masks and colors for a target image.