Gradient adjustment for texture mapping to non-orthonormal grid
AssigneeSony Interactive Entertainment Inc.
InventorMark Evan Cerny
Life of this patent
Estimating the term…
Abstract
In a computer graphics processing unit (GPU) having a texture unit, when pixel sample locations are based on a non-orthonormal grid in scene space, the texture unit receives texture space gradient values directly, e.g., from a shader unit or generates them from texture coordinates supplied, e.g., by a shader unit, and then applies a transformation to the gradient values configured to adjust the gradient values to those which would arise from the use of a orthonormal screen space grid.
Claims19
A computer graphics method, comprising:
- applying a transformation to texture space gradient values for one or more primitives based on a non-orthonormal grid of sample points in a screen space with a pixel shader to generate corrected texture space gradient values, wherein the transformation is configured to generate corresponding ortho-normal texture space gradient values corrected for the non-orthonormality of the sample points in screen space with the pixel shader;
- and
- passing the corrected texture space gradient values to a texture unit.
A non-transitory computer-readable medium having computer executable instructions embodied therein that, when executed, implement a method for graphics processing, the method comprising:
- applying a transformation to texture space gradient values for one or more primitives based on a non-orthonormal grid of sample points in a screen space with a texture unit with a pixel shader to generate corrected texture space gradient values, wherein the transformation is configured to generate corresponding ortho-normal texture space gradient values corrected for the non-orthonormality of the sample points in screen space with the pixel shader;
- and
- passing the corrected texture space gradient values to a texture unit.
Dependencies are inferred from the claim text.