Method and apparatus for performing tangent space lighting and bump mapping in a deferred shading graphics processor
US6771264B1 · kind B1 · utility
Assignee
Inventors
Key dates
| Filing date | Dec 17, 1999 |
| Grant date | Aug 3, 2004 |
| Priority date | — |
| Expiry date | Dec 17, 2019 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06T15/83
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A system and method for performing tangent space lighting in a deferred shading graphics processor (DSGP) encompasses blocks of the DSGP that preprocess data and a Phong shader that executes only after all fragments have been preprocessed. A preprocessor block receives texture maps specified in a variety of formats and converts those texture maps to a common format for use by the Phong shader. The preprocessor blocks provide the Phong shader with interpolated surface basis vectors (vs, vt, n), a vector Tb that represents in tangen/object space the texture/bump data from the texture maps, light data, material data, eye coordinates and other information used by the Phong shader to perform the lighting and bump mapping computations. The data from the preprocessor is provided for each fragment for which lighting effects need to be computed. The Phong shader computes the color of a fragment using the information provided by the preprocessor. The Phong shader performs all lighting computations in eye space, which requires it first to transform bump data from tangent space to eye space. In one embodiment the Phong hardware does this by multiplying a matrix M whose columns comprise eye spa…
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.