Open illwieckz opened 9 months ago
Missing flame:
I have work in progress for nuking the GLSL-based autosprite implementation as described in https://github.com/DaemonEngine/Daemon/issues/1246#issuecomment-2302015811. I guess the flames must all be rendered with the lightMapping
shader because that's the part that didn't work with autosprites. Now they show up.
Excellent!
I guess the flames must all be rendered with the
lightMapping
shader because that's the part that didn't work with autosprites.
Actually I think those specifically were broken because they are not opaque. The depth fade code intended for soft particles (unwantedly) runs for all sprites, including BSP ones. For opaque surfaces, alpha is ignored so the depth fade has no effect. For autosprite2 surfaces, the depth fade code gets run with a negative depth value which results in undefined output from the GLSL smoothstep
function. So transparent autosprite2 surfaces don't show up.
Extracted from this issue that described two bugs:
This thread is for the missing candle flame/fire sprite effect.
It is believed the bug is related to: