Partial transparency in 32-bit PNG sprites is not working

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
Guest

Partial transparency in 32-bit PNG sprites is not working

Post by Guest »

I'm using a 32-bit PNG with partial transparency as a sprite. In software mode, it displays the partially transparent pixels as fully solid. In GL mode, they're invisible.

The PNGs themselves:

Image
Image


Software mode screenshot:
Spoiler:

GL mode screenshot:
Spoiler:
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49232
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Partial transparency in 32-bit PNG sprites is not workin

Post by Graf Zahl »

Software does not support this feature and probably never will.
In GL it should work but your screenshot looks like some stuff gets clipped away by floor and ceiling.
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: Partial transparency in 32-bit PNG sprites is not workin

Post by Gez »

For the static objects like the lamps and pots, you can work around that by having the shadow/illumination as a separate actor, with its own render style, spawned by the lamp/pot/whatever.

Code: Select all

Spawn:
   ITEM A 0
   ITEM A -1 A_SpawnItemEx("shadow", blah blah parameters)
   Stop
For moving actors like monsters, it's probably not worth the hassle.
Post Reply

Return to “Closed Bugs [GZDoom]”