Hello, I’ve encountered a weird problem lately.
I’ve been struggling with this for a few hours.
If I spawn a few objects that use any of material that has transparency, (or material that has ALPHAMASK psdefine)
and then I spawn some ribbon trails and after a short amount of time I destroy them and spawn again very quickly, I can see some glitching, the materials with transparency are weirdly flickering, which you can see there:
flickering cat boxes (not virus)
It also happens when I’m quickly switching their emitting by SetEmitting() function. In the video I spawned like 100 of ribbon trails, but this glitch seems to appear independently of their count.
For ribbon trail I use default SlashTrail.xml material, but If I change its technique to non-alpha, the flickering disappears.
I encountered this problem when working in my game where I switch ribbon trails often, and manipulate their’s lifetime to give them better look, but I can’t stand this flickering.
I’m using Urho 1.7