[1.1.42] energy_glow_animation flickers badly
Posted: Thu Oct 14, 2021 4:40 am
This has been ongoing for at least several versions, but I finally made a demo to showcase what I'm experiencing.
Animations associated with a turret's energy_glow_animation flicker very badly.
It's visible on the default laser-turret, but modded turrets show the flicker as well and make it very obvious.
Changing the cooldown / duration on the laser attack seems to have no effect.
I've also tried experimenting with many different flags & draw_as___ options to no effect.
It seems possible that the energy glow animation is z-fighting when being redrawn every frame, like in these issues:
viewtopic.php?p=421477
viewtopic.php?f=7&t=91764
viewtopic.php?p=522051
I've attached a brief clip, a mod using my intended graphics, and a save demoing the laser turret, several draw_as____ versions.
(It looks worse in game than the 30fps clip can show)
Animations associated with a turret's energy_glow_animation flicker very badly.
It's visible on the default laser-turret, but modded turrets show the flicker as well and make it very obvious.
Changing the cooldown / duration on the laser attack seems to have no effect.
I've also tried experimenting with many different flags & draw_as___ options to no effect.
It seems possible that the energy glow animation is z-fighting when being redrawn every frame, like in these issues:
viewtopic.php?p=421477
viewtopic.php?f=7&t=91764
viewtopic.php?p=522051
I've attached a brief clip, a mod using my intended graphics, and a save demoing the laser turret, several draw_as____ versions.
(It looks worse in game than the 30fps clip can show)