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: Fix still projecting sun shadows onto nothing #684

Closed zturtleman closed 2 months ago

zturtleman commented 2 months ago

This fixes #680 on more hardware as per https://github.com/PadWorld-Entertainment/worldofpadman/issues/266.

Increase the range for clamping the screen shadow depth to 1.0 (nothing drawn). Old epsilon ~0.00000006, new 0.001. This fixes it on another computer.

kai-li-wop commented 2 months ago

I can approve the fix as working.