A Geometry-Based Soft Shadow Volume Algorithm Using Graphics Hardware - PowerPoint PPT Presentation

1 / 32
About This Presentation
Title:

A Geometry-Based Soft Shadow Volume Algorithm Using Graphics Hardware

Description:

penumbra. Two different light source types: A Real-Time Soft Shadow ... Provides a piece of penumbra contribution. Rasterized by pixelshader. Two-pass algorithm ... – PowerPoint PPT presentation

Number of Views:12
Avg rating:3.0/5.0
Slides: 33
Provided by: steve1680
Category:

less

Transcript and Presenter's Notes

Title: A Geometry-Based Soft Shadow Volume Algorithm Using Graphics Hardware


1
A Geometry-Based Soft Shadow Volume
AlgorithmUsing Graphics Hardware
  • Ulf Assarsson
  • and
  • Tomas Akenine-Möller
  • SIGGRAPH 2003

2
We present
  • A Soft Shadow Volume Algorithm
  • Area light sources
  • Simple volumetric light sources
  • Textures and short video textures as lights
  • Real-time performance with programmable graphics
    hardware
  • Approximate soft shadows
  • Trade speed vs accuracy

3
Intro demo
4
A short recap
SOFT
HARD
  • Area/volumetric lights give soft shadows
  • Real lights have area or volume
  • Thus, soft shadows more realistic

5
Overview
  • Computation of visibility mask
  • 1st pass Render hard shadow
  • 2nd pass compensate for overstated umbra

6
Hard vs. soft shadows
Two different light source types
7
A Real-Time Soft Shadow Volume Algorithm
8
Wedges
  • Each silhouette edge has a corresponding wedge
  • Provides a piece of penumbra contribution
  • Rasterized by pixelshader

9
Two-pass algorithm
10
Visibility computation
  • Really want to compute how much we can see of the
    light source

11
Visibility computation
12
Precomputed contribution in 4D textures
contribution area
32
32
13
How the visibility computation works
14
Rasterize a wedge
15
A wedge for each silhouette edge
16
A wedge for each silhouette edge
17
A wedge for each silhouette edge
18
A wedge for each silhouette edge
19
A wedge for each silhouette edge
20
Rasterizing the wedges
21
Rasterizing the wedges
22
Rasterizing the wedges
23
Rasterizing the wedges
24
Rasterizing the wedges
25
Examples using textured lights
Texture of two colors
Texture of 16 area lights
26
Fire Demo
27
Fire Demo
28
Comparisons
Reference image Our algorithm
29
Comparisons
Reference image Our algorithm
30
Comparisons
Small light source
Large light source
31
Comparisons
512 point lights Our algorithm
32
The Last Demo
Write a Comment
User Comments (0)
About PowerShow.com