3 ms·
This is called "Carmack's Reverse", and was used for the realtime stencil buffer shadows in Doom 3: http://en.wikipedia.org/wiki/Shadow_volume http://en.wikiped
by doomlaser 12y ago
This is called "Carmack's Reverse", and was used for the realtime stencil buffer shadows in Doom 3: http://en.wikipedia.org/wiki/Shadow_volume http://en.wikipedia.org/wiki/Shadow_volume
Stencil buffer shadows were very popular in the mid 2000s because of their performance and relative simplicity in implementation. Their main drawback is that there is no easy way to get a soft penumbra around shadow edges. You can spot them in many games from the last generation because of their universal hard edges -- an area is either in shadow or not. See: Mario Galaxy, etc.
- phoboslab 12y agoWithout having played Mario Galaxy myself, judging from screenshots it seems the game is using shadow maps[1] or just static geometry for fake shadows[2]. [1] http://screens.latestscreens.com/wii/screenshots/supermariogalaxy/screenshot_super_mario_galaxy_3.jpg http://screens.latestscreens.com/wii/screenshots/supermariog... [2] http://images9.gry-online.pl/galeria/galeria_duze3/169624250.jpg http://images9.gry-online.pl/galeria/galeria_duze3/169624250...
- kazinator 12y agoIt looks quite fake. Most objects in the scene are not participating in casting shadows, and the shadows cast by the characters don't seem to be forged from their true silhouette.