20.01.2015 Views

CS-184: Computer Graphics Today - Inst.eecs.berkeley.edu ...

CS-184: Computer Graphics Today - Inst.eecs.berkeley.edu ...

CS-184: Computer Graphics Today - Inst.eecs.berkeley.edu ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Shadow Maps<br />

For each polygon<br />

Render the polygon from the camera<br />

Render the polygon from the light<br />

Compare the z value from the light with the one in<br />

the depth shadow map<br />

If they match, the polygon is lit<br />

Otherwise it is in shadow<br />

17<br />

17<br />

Environment Maps<br />

Fake reflections<br />

Assumes the environment is very far away<br />

Depends on the location of the camera<br />

Usually stored in a spherical table or a cube<br />

map<br />

18<br />

18

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!