Translucent background support for Canvas textures

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

User avatar
Xaser
 
 
Posts: 10772
Joined: Sun Jul 20, 2003 12:15 pm

Translucent background support for Canvas textures

Post by Xaser »

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.).
dpJudas
 
 
Posts: 2986
Joined: Sat May 28, 2016 1:01 pm

Re: Translucent background support for Canvas textures

Post by dpJudas »

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.
User avatar
Jekyll Grim Payne
 
 
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

Post by Jekyll Grim Payne »

I second this, because the lack of translucency currently significantly limits the application for these.

Return to “Feature Suggestions [GZDoom]”