Patent ID: 8648856
Filing Date: 2014-02-11
Classification: G06T

Abstract:
1. A method for rendering pixels, comprising: generating, within an electronic system, a shadow texture map having faces corresponding to perspectives of a light source, each face comprising a shadow texture having depth data from one of said perspectives of the light source, wherein the depth data of each shadow texture comprises a respective range value for each respective pixel of the face and wherein each respective range value comprises a respective distance from the light source to a respective closest object fragment; defining a light-to-surface vector defined from the light source to an object fragment; selecting a particular face of the shadow texture map based on the light-to-surface vector; normalizing coordinate parameters using a Scale value and a Bias value, wherein the Scale value=−(Far*Near)/(Far−Near), and wherein the Bias value=Far/(Far−Near), where Far is a range value from the light source to a far plane for the light source and Near is a range value from the light source to a near plane for the light source; and rendering the object fragment utilizing the shadow texture corresponding to the selected face.