Translucent background support for Canvas textures
Moderator: GZDoom Developers
-
-
- Posts: 10772
- Joined: Sun Jul 20, 2003 12:15 pm
Translucent background support for Canvas textures
I'm not seeing a way to set up a Canvas texture to use a translucent background. It starts off solid black and all the various "Clear" functions do a solid-color fill, ignoring the alpha value of whatever color gets passed in. This limits its usefulness for many applications (menus, etc.).
-
-
- Posts: 2986
- Joined: Sat May 28, 2016 1:01 pm
Re: Translucent background support for Canvas textures
I believe the canvas texture itself already have the alpha channel, so this boils down to the Clear functions ignoring the alpha channel. If it could be altered to use a renderstyle with a SRCALPHA blend rule then it would probably apply the alpha.
-
-
- Posts: 967
- Joined: Mon Jul 21, 2008 4:08 am
- Preferred Pronouns: He/Him
- Graphics Processor: nVidia (Modern GZDoom)
Re: Translucent background support for Canvas textures
I second this, because the lack of translucency currently significantly limits the application for these.