# US 2022/0292764 A1 · Method for Processing Image Data to Provide for Soft Shadow Effects Using Shadow Depth Information

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0292764 A1
- Document ID: US20220292764A1
- Status: Published application
- Kind: A1
- Application number: 17/583,192
- Filed: 2022-01-24
- Published: 2022-09-15
- Earliest claimed: 2020-11-10
- Assignees: Unity Technologies SF
- Applicants: Unity Technologies SF
- Inventors: Peter M. Hillman
- Web page: https://patentgrep.com/patent/US20220292764A1

## CPC

- G06T 15/60: Shadow generation
- G06T 15/04: Texture mapping
- G06T 15/506: {Illumination models}
- G06T 19/20: Editing of three-dimensional [3D] images, e.g. changing shapes or colours, aligning objects or positioning parts
- G06T 2210/61: Scene description
- G06T 2215/12: Shadow map, environment map
- G06T 2219/2016: Rotation, translation, scaling
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

An image dataset is processed with a shadow map generated from objects in a virtual scene that can cast shadows and the scene is rendered independent of the shadows. The shadow might be edited separately, and then applied to a post-render image of the scene to form a shadowed image. Light factor values for pixels of the shadow map might be stored as summed-area table values.

## Claims

### Claim 1

A computer-implemented method for processing image data that includes depth information and shadow effects, the method comprising:
under the control of one or more computer systems configured with executable instructions:
obtaining a scene description describing elements of a scene to be rendered into a computer-generated image, the elements comprising at least a point light source and a plurality of objects, wherein the point light source has a position in the scene and positions of obscuring objects of the plurality of objects in the scene are such that light from the point light source would be at least partially obscured by the obscuring objects;
determining, from the scene description, a shadow map of the point light source, wherein the shadow map encodes for shadows cast by the obscuring objects;
determining area light parameters for an area light, wherein the area light is represented by a geometry of a nonzero light area positioned in the scene;
determining, for a given point, P, in the scene, whether obscuring objects would obscure light from the area light to the given point P;
determining, for the given point P, an occluder point, B, on an occluding object;
determining, for the given point P and the occluder point B, a projection of the area light though occluder point B to an area light fall region;
determining, for the area light fall region, a corresponding region of the shadow map;
determining, for the corresponding region, a ratio of occluded rays of the corresponding region to rays of the corresponding region; and
computing a shadow effect of the area light and the obscuring objects on points of the scene.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the ratio of the occluded rays of the corresponding region to the rays of the corresponding region are weighted by partial occlusion weights.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the deep shadow data element encodes for the area light parameters whereby the deep shadow data element includes references to objects that are within a light volume defined by the area light parameters and the given point on the shadowed object.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the deep shadow data element includes an acceleration structure.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, wherein the acceleration structure comprises a summed area table.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the shadow value contribution of a given object that is either an intersecting object or a penumbra object is based, at least in part, on a ratio of a first distance between the point light source and the given point and a second distance between the given object and the given point.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the shadow map comprises a plurality of depth samples per pixel.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, further comprising:
computing deep pixel maps for a plurality of pixels;
editing the scene by modifying samples in the deep pixel maps based on objects in the scene being modified;
modifying the shadow map to account for the objects in the scene being modified to form a modified shadow map; and
recompositing the computer-generated image with the modified shadow map.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, further comprising:
modifying the scene to reflect movement of the point light source relative to the plurality of objects in the scene, the movement being according to a movement vector; and
modifying the shadow map by moving it according to the movement vector.

### Claim 10 (depends on 1)

A computer system comprising:
one or more processors; and
a storage medium storing instructions, which when executed by the at least one processor, cause the system to implement the method of claim 1.

### Claim 11 (depends on 1)

A non-transitory computer-readable storage medium storing instructions, which when executed by at least one processor of a computer system, causes the computer system to carry out the method of claim 1.

### Claim 12 (depends on 1)

A computer-readable medium carrying instructions, which when executed by at least one processor of a computer system, causes the computer system to carry out the method of claim 1.

### Claim 13 (depends on 1)

A carrier medium carrying image data that results from independent shadow processing according to the method of claim 1.
