[SBARINFO] Tranparent elements on status bar
Moderator: GZDoom Developers
- InsaneFury
- Posts: 105
- Joined: Mon Nov 23, 2009 6:51 am
[SBARINFO] Tranparent elements on status bar
I'm looking for a way to make the HUD transparent through means of SBARINFO for example?
However, unlike the NO'ed request at this page, I'm not referring to having cyan-background images (that's doable already), but having a certain opacity/intensity per image.
This would work like the RenderStyle and Alpha properties in Actors.
If implemented, this would not only make it possible to make a semi-seethrough statusbar, but also allow for full-screen overlay effects (which is what I intend to use it for).
However, unlike the NO'ed request at this page, I'm not referring to having cyan-background images (that's doable already), but having a certain opacity/intensity per image.
This would work like the RenderStyle and Alpha properties in Actors.
If implemented, this would not only make it possible to make a semi-seethrough statusbar, but also allow for full-screen overlay effects (which is what I intend to use it for).
Re: [SBARINFO] Tranparent elements on status bar
InsaneFury wrote:a way to make the HUD transparent [...]
cyan-background images





- .+:icytux:+.
- Posts: 2661
- Joined: Thu May 17, 2007 1:53 am
- Location: Finland
Re: [SBARINFO] Tranparent elements on status bar
im pretty sure this is doable already 
http://zdoom.org/wiki/SBARINFO
if you check the wikipage, there is already the "alpha" in there.
seems to only be in the svn tho.

http://zdoom.org/wiki/SBARINFO
if you check the wikipage, there is already the "alpha" in there.
seems to only be in the svn tho.
- InsaneFury
- Posts: 105
- Joined: Mon Nov 23, 2009 6:51 am
Re: [SBARINFO] Tranparent elements on status bar
But doesn't that apply to the entire status bar? I want to tune only some specific images in the status bar, i.e. have different alpha values per DrawImage..+:icytux:+. wrote:im pretty sure this is doable already
http://zdoom.org/wiki/SBARINFO
if you check the wikipage, there is already the "alpha" in there.
seems to only be in the svn tho.
*edit*
Ah, I see. I was using an outdated version of the documentation.

Sweet! Works like a charm!


Re: [SBARINFO] Tranparent elements on status bar
The Alpha keyword would be the primary mechanism. Alternatively, if it is convenient for the purpose, you should also be able to just use a PNG with included transparency because the status bar is a HUD element and all HUD elements in ZDoom have full true color support.
-
-
- Posts: 3211
- Joined: Wed Nov 24, 2004 12:59 pm
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
- Contact:
Re: [SBARINFO] Tranparent elements on status bar
Only on Windows and when hardware acceleration is available. Though ZDoom may have support for the alpha channel any ways, never really tried it.Zippy wrote:all HUD elements in ZDoom have full true color support.
Re: [SBARINFO] Tranparent elements on status bar
Support for the alpha channel for paletted rendering is of the form < 50% = not drawn, > 50% = drawn.
-
-
- Posts: 3211
- Joined: Wed Nov 24, 2004 12:59 pm
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
- Contact:
Re: [SBARINFO] Tranparent elements on status bar
Is there any particular reason why ZDoom doesn't support a full alpha channel in paletted mode? Clearly it's capable of doing alpha blending when given a alpha from elsewhere.
Re: [SBARINFO] Tranparent elements on status bar
There's a difference between using a single alpha value for an entire image and using a unique alpha value per pixel.