Shpoike / Quakespasm

Extra bloaty junk to modernise stuff a bit.
http://triptohell.info/moodles/qss/
GNU General Public License v2.0
184 stars 41 forks source link

Enemies appearing black above grates in DoTM. #69

Open adelpha opened 2 years ago

adelpha commented 2 years ago

Enemies are appearing black above certain grates in DoTM, as if lighting information isn't being picked up, or is being picked up from the wrong surface.

https://youtu.be/lrmQSEon24k

Thanks Garoto for the screenshot

. This could be a red herring, but I've noticed that the grate models' interior surfaces are not culled and are 100% black. .

spasm0001 spasm0002

NightFright2k19 commented 2 years ago

Does it still happen with latest build from Sep 13?

adelpha commented 2 years ago

Yep, still happening.

FYI, vkQuake also suffers from this bug. Are these grates and stairs actually models rather than built from brushes?

garoto commented 2 years ago

Potential same issue being discussed here: https://github.com/sezero/quakespasm/issues/7

adelpha commented 2 years ago

Yeah, that's the same issue for sure. I mean, technically this could probably be considered a content bug that Kex just doesn't expose because it seems to use different logic for tracing to the nearest lit surface below.

OTOH, since their implementation works in DoTM content and I haven't noticed any glaring issues lighting issues in any vanilla or MP content in Kex, their implementation might be "better".

Total guess: Kex is tracing to the lit top surface of the grates, while QS/QSS/VK are all tracing to the unlit surface inside the grates.