3 ms·
I wanna see how they did their shadow volumes. As far as I know, they did it without geometry shaders, which would mean that they had to do the shadow volume ex
by exDM69 15y ago
I wanna see how they did their shadow volumes. As far as I know, they did it without geometry shaders, which would mean that they had to do the shadow volume extrusion on the CPU. Or maybe there's some cleverness involved.
- joakleaf 15y agoThey probably used the CPU -- I remember reading somewhere that Carmack also wanted to implement a beam-tree (3D BSP) for faster culling of shadow surfaces, but I am not sure. I did some experiments with Shadows myself 10 years ago, on that era of CPUs and GPUs and the bottleneck for me was drawing the volumes in the stencil buffer.