Advertisement

Shadow volumes with only 1 pass??

Started by May 28, 2003 05:16 AM
2 comments, last by Corrail 21 years, 9 months ago
Hi! I just found an article from John Carmack. He wrote that it is possible to run Doom 3 with the R300 and the NV30 with only one pass per frame. http://www.webdog.org/plans/1/ "...The R300 can run Doom in three different modes: ARB (minimum extensions, no specular highlights, no vertex programs), R200 (full featured, almost always single pass interaction rendering), ARB2 (floating point fragment shaders, minor quality improvements, always single pass). The NV30 can run DOOM in five different modes: ARB, NV10 (full featured, five rendering passes, no vertex programs), NV20 (full featured, two or three rendering passes), NV30 ( full featured, single pass), and ARB2..." But how is it possible to draw shadow volumes (I think John Carmack uses Shadow Volumes for the Doom 3 engine) with only one Pass?????? Thanks for you comments! Corrail corrail@gmx.at ICQ#59184081
--------------------------------------------------------There is a theory which states that if ever anybody discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.There is another theory which states that this has already happened...
You can only do it single-pass with lots of extensions. Notice how Doom''s ARB codepath needs 5 or 6 passes? It''s because it''s using a minimum amount of extensions.
Advertisement
It''s one pass *per light*. And not counting the stencil buffer setup.

Y.
Okay, if Stencil Buffer setup isn''t counted then it''s ok! :-)
I was very shocked if I read it! :-)

Corrail
corrail@gmx.at
ICQ#59184081
--------------------------------------------------------There is a theory which states that if ever anybody discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.There is another theory which states that this has already happened...

This topic is closed to new replies.

Advertisement