Page 1 of 1
LUPS shieldsphere causes healthbars to be invisible
Posted: 24 Apr 2017, 07:46
by Forboding Angel
https://github.com/EvolutionRTS/Evoluti ... thbars.lua
Those are floris' sexy healthbars.
Here is a screenie of what I'm talking about. Fwiw, the alpha of the shield sphere is very low, but if you look at the outline on the ground you can see where the sphere is.
https://drive.google.com/file/d/0B25BbZ ... p=drivesdk
Re: LUPS shieldsphere causes healthbars to not be rendered at all
Posted: 24 Apr 2017, 08:06
by Forboding Angel
Hmm, perhaps the larger issue is with the shieldsphere shader in general?
https://drive.google.com/file/d/0B25BbZ ... p=drivesdk
Re: LUPS shieldsphere causes healthbars to not be rendered at all
Posted: 24 Apr 2017, 13:05
by Kloot
No, the larger issue (stated a few times before) is that order matters when drawing overlapping translucent elements.
If the shield spheres happen to be drawn first with z-writing enabled, they'll block anything that has z-testing enabled and lives at a greater depth from drawing after them, including healthbars.
Re: LUPS shieldsphere causes healthbars to not be rendered at all
Posted: 24 Apr 2017, 14:24
by Forboding Angel
Thanks, that helped quite a bit. All fixed up now

Re: LUPS shieldsphere causes healthbars to not be rendered at all
Posted: 14 May 2017, 11:27
by Forboding Angel
Btw if anyone needs help with this let me know. If you have a look, evo's shields look fantastic now and there is no longer a massive performance drop when there are 50 - 100 of them on screen at once.
