ioquake / ioq3

The ioquake3 community effort to continue supporting/developing id's Quake III Arena
https://ioquake3.org/
GNU General Public License v2.0
2.42k stars 529 forks source link

OpenGL2: Stencil shadow volumes are broken (cg_shadows 2) #648

Open zturtleman opened 8 months ago

zturtleman commented 8 months ago

Currently the code for stencil shadow volumes is broken and disabled. It doesn't draw anything.

Calinou commented 8 months ago

/cg_shadows 4 (only works with OpenGL 2) is a decent workaround in the meantime. It's based on shadowmaps, but without any filtering applied. The shadows have less of a tendency to fly in random directions as well (my largest pet peeve with /cg_shadows 2 – these would really benefit from a fixed angle option).