Revolutionary-Games / Thrive

The main repository for the development of the evolution game Thrive.
https://revolutionarygamesstudio.com/
Other
2.79k stars 496 forks source link

Add a semitransparent background for the radial menu #3145

Open hhyyrylainen opened 2 years ago

hhyyrylainen commented 2 years ago

so that the signaling agents commands block out the GUI elements it is supposed to be on top of more effective

see bottom middle: screenshot

athariqk commented 2 years ago

How about blurring the background? There's an easy way to add this in a simple shader but it won't work in GLES2. We'll have to either do an annoyingly complex workaround or just make GLES2 not have blur whatsoever. Also isn't the darkened BG already semitransparent?

hhyyrylainen commented 2 years ago

It's a bit annoying that blur doesn't work properly for gles2, so maybe it should be avoided... and instead an approach used that works there as well. If there's already a background it probably means it isn't dark enough to really make a difference... I opened this issue based on the feedback of this feature.

athariqk commented 2 years ago

I mean the particle effects we use are totally bust in GLES2 so I think it won't hurt to add this one blur at this point 😆. Otherwise I could open a PR darkening the BG further.