摘要 |
<p>A method for rendering shadows including identifying shadow casters (120) and shadow receivers (130) in a scene (100). In one embodiment constructing a first 3D grid (600), projecting the shadow casters (120, 610) and growing cells of the first 3D grid including a projected caster (610). Constructing a second 3D grid (700) and growing each cell of the second 3D grid including at least a portion of one shadow receiver and for which a corresponding cell of the first 3D grid is grown. Forming a third 3D (800) grid by intersecting the first 3D grid with the second 3D grid and marking for rendering each shadow caster (610) that intersects the third 3D grid. In another embodiment, for visible shadow receivers establishing depth information in a small white buffer (1310), rendering the shadow casters into a depth map, blurring the small white buffer and upsampling the small white buffer into a full sized white buffer (1320) using depth information as a metric.</p> |