Physically based shading via fixed-functionality shader libraries
AssigneeIntel Corporation
InventorsLouis Feng, Altug Koker, Tomasz Janczak, Andrew T. Lauritzen, David M. Cimini
Life of this patent
Estimating the term…
Abstract
Systems, apparatuses and methods may provide for technology that computes, by a shader in a fixed-functionality hardware shader library, a physically based shading model for a type of material. Additionally, the shader may shade one or more surfaces associated with the type of material in accordance with the physically based shading model. In one example, two or more shaders in the shader library are dedicated to different types of materials.
Claims20
A semiconductor package apparatus comprising:
- a substrate;
- and
- logic coupled to the substrate, wherein the logic includes a fixed-functionality hardware shader library that includes a plurality of shaders that are each implemented in fixed-functionality hardware logic, wherein at least a first shader in the plurality of shaders is tailored to a first type of material and a second shader in the plurality of shaders is tailored to a second type of material different from the first type of material, each of the plurality of shaders to:
- compute a physically based shading model for a respective type of material with the fixed-functionality hardware logic, and
- shade one or more surfaces associated with the respective type of material in accordance with the physically based shading model to determine a brightness, a contrast, and a color of the one or more surfaces.
A performance-enhanced computing system comprising:
- a display to present visual content;
- a memory to store a set of instructions;
- a host processor coupled to the memory and the display;
- a programmable processor coupled to the display;
- and
- a graphics processor coupled to the display, the graphics processor including a substrate, and logic coupled to the substrate, wherein the logic includes a fixed-functionality hardware shader library that includes a plurality of shaders that are each implemented in fixed-functionality hardware logic, wherein at least a first shader in the plurality of shaders is tailored to a first type of material and a second shader in the plurality of shaders is tailored to a second type of material different from the first type of material, each of the plurality of shaders to:
- compute a physically based shading model for a respective type of material with the fixed-functionality hardware logic, and
- shade one or more surfaces associated with the respective type of material in accordance with the physically based shading model to determine a brightness, a contrast, and a color of the one or more surfaces.
A method of operating a semiconductor package apparatus, comprising:
- selecting a first shader from a plurality of shaders of a fixed-functionality hardware shader library, each of the plurality of shaders being implemented in fixed-functionality hardware logic, wherein at least a first shader in the plurality of shaders is tailored to a first type of material and a second shader in the plurality of shaders is tailored to a second type of material different from the first type of material;
- computing, with the fixed-functionality hardware logic of the first shader, a first physically based shading model for the first type of material;
- shading, with the first shader, one or more surfaces associated with the first type of material in accordance with the first physically based shading model to determine a brightness, a contrast, and a color of the one or more surfaces;
- and
- computing, with the fixed-functionality hardware logic of a second shader of the plurality of shaders, a second physically based shading model for the second type of material.
Dependencies are inferred from the claim text.