Screen.DrawShape alpha remains constant

Is there something that doesn't work right in the latest GZDoom? Post about it here.

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!

Screen.DrawShape alpha remains constant

Postby Talon1024 » Wed Jan 13, 2021 1:32 am

If you use Screen.DrawShape, and pass in a DTA_Alpha, it will not change, even if the alpha value changes between frames.

Here is a small example. To run it, just start a game on any map with any IWAD. The squares at each corner should fade in to full opacity, but they don't.

I've noticed this issue with the OpenGL, Vulkan, AND Softpoly renderers BTW.
Talon1024
 
 
 
Joined: 27 Jun 2016
Github ID: Talon1024
Operating System: Debian-like Linux (Debian, Ubuntu, Kali, Mint, etc) 64-bit
Graphics Processor: nVidia with Vulkan support

Re: Screen.DrawShape alpha remains constant

Postby Major Cooke » Wed Jan 13, 2021 9:12 pm

Yeah I noticed this too earlier today. Was preparing to make an example but you beat me to it.
User avatar
Major Cooke
QZDoom Maintenance Team
 
Joined: 28 Jan 2007


Return to Bugs

Who is online

Users browsing this forum: No registered users and 0 guests