Re:D3wasm 0.4 – Doom 3 in WASM
by jamesfinlayson on Wednesday September 28, 2022 @08:42PM
(#33015023)
I think the original Half-Life used stencil shadows - I guess that was the most advanced option available in 1998? Counter-Strike on the other hand rendered a grey circle sprite under players (looked okay enough - approximated the vague shadow you get when under multiple light sources).
[ Parent
| on HN ]
Unfortunately the game didn't end up shipping with shadows despite shadows being on the box art screenshots.
Re:D3wasm 0.4 – Doom 3 in WASM
by jamesfinlayson on Tuesday October 04, 2022 @01:31AM
(#33076952)
I think early versions did but it was supposedly removed because shadows were cast through walls in multiplayer (which was unfair). The code is definitely still in the engine, behind a cvar which isn't exposed to players.