Open sprunk opened 1 year ago
All I recall is that it does extra loops inside shader code when zoomed in. This is to make line thicker. What is "severe", pictures?
That ups the amount of calculations.
Can you not reproduce this. Curious.
I'll follow up with some more information like screenshots of "severe" FPS drops if you like that.
No outline: 116fps. Around 15% of the slider and regularly zoomed in for microing a combat I have drops to 60. 80% thickness and zoomed in a bit more 38 fps. Full thickness, zoomed in fully, 16 fps.
I can provide screenshots, but they are just what I said. Again, I suggest removing this widget or at least testing it out yourself. Not for me, I know how to turn it off. For other people suffering from unknown frame-drops.
The widget seems a composite of multiple ideas put together. Though admittedly, I know absolutely nothing about shaders.
I can only make this hit framerate hard with 5x line thickness. Then I can get a drop from 90 to 26 fps when heavily zoomed in.
With 1x line thickness I'm seeing a hit of under 10% in any normal situation which, admittedly, is quite a lot for one effect - but it's not so bad that I'll turn the effect off. It seems likely that the issue is somewhat hardware dependent. What GPU are you running @M5PR ?
https://bgolus.medium.com/the-quest-for-very-wide-outlines-ba82ed442cd9
Anyone want to implement jump flood?
https://discord.com/channels/278805140708786177/278908415756206080/1087162130022797322