Archived

This topic is now archived and is closed to further replies.

Corrail

Shadow volumes with only 1 pass??

Recommended Posts

Corrail    133
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

Share this post


Link to post
Share on other sites
Luke Philpot    200
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.

Share this post


Link to post
Share on other sites
Corrail    133
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

Share this post


Link to post
Share on other sites