Soft Shadow Maps: Efficient Sampling of Light Source Visibility
Résumé
Shadows, particularly soft shadows, play an important role in the visual perception of a scene by providing visual cues about the shape and position of objects. Several recent algorithms produce soft shadows at interactive rates, but they do not scale well with the number of polygons in the scene or only compute the outer penumbra. In this paper, we present a new algorithm for computing interactive soft shadows on the GPU. Our new approach provides both inner- and outer-penumbra, and has a very small computational cost, giving interactive frame-rates for models with hundreds of thousands of polygons. Our technique is based on a sampled image of the occluders, as in shadow map techniques. These shadow samples are used in a novel manner, computing their effect on a second projective shadow texture using fragment programs. In essence, the fraction of the light source area hidden by each sample is accumulated at each texel position of this Soft Shadow Map. We include an extensive study of the approximations caused by our algorithm, as well as its computational costs.
Domaines
Autre [cs.OH]
Fichier principal
RR-5750.pdf (768.25 Ko)
Télécharger le fichier
aLargeScene.jpg (79.6 Ko)
Télécharger le fichier
SoftShadowMaps.mov (16.74 Mo)
Télécharger le fichier
discret1.jpg (34.38 Ko)
Télécharger le fichier
discret2.jpg (35.71 Ko)
Télécharger le fichier
dragon.jpg (125.7 Ko)
Télécharger le fichier
Format | Figure, Image |
---|
Format | Vidéo |
---|
Format | Figure, Image |
---|
Format | Figure, Image |
---|
Format | Figure, Image |
---|
Loading...