Shading Using Multiple Texture Maps
AssigneeAR You Ready LTD.
InventorOmer Breiner
Life of this patent
Estimating the term…
Abstract
A computer-implemented method, computerized apparatus and computer program product for shading in computer graphics. An indication of a lighting condition at a location in a surface of an object is obtained. A set of texture maps mapping locations on the surface to pixel values according to different lighting conditions is obtained. An output value for a pixel corresponding the location in an image of a scene comprising the object is determined based on the indicated lighting condition and mapped pixel value of the location in one or more texture maps.
Claims20
A computer-implemented method comprising:
- obtaining an indication of a lighting condition at a location in a surface of an object;
- obtaining a set of texture maps each of which mapping between locations on the surface and pixel values, the set comprising at least two texture maps conforming to different lighting conditions;
- and
- determining, based on the lighting condition and a mapped pixel value of the location in one or more texture maps, an output value for a pixel corresponding the location in an image of a scene comprising the object.
A computerized apparatus having a processor, the processor being adapted to perform the steps of:
- obtaining an indication of a lighting condition at a location in a surface of an object;
- obtaining a set of texture maps each of which mapping between locations on the surface and pixel values, the set comprising at least two texture maps conforming to different lighting conditions;
- and
- determining, based on the lighting condition and a mapped pixel value of the location in one or more texture maps, an output value for a pixel corresponding the location in an image of a scene comprising the object.
A computer program product comprising a non-transitory computer readable storage medium retaining program instructions, which program instructions when read by a processor, cause the processor to perform a method comprising:
- obtaining an indication of a lighting condition at a location in a surface of an object;
- obtaining a set of texture maps each of which mapping between locations on the surface and pixel values, the set comprising at least two texture maps conforming to different lighting conditions;
- and
- determining, based on the lighting condition and a mapped pixel value of the location in one or more texture maps, an output value for a pixel corresponding the location in an image of a scene comprising the object.
Dependencies are inferred from the claim text.