[g2.2pre-2123] CopyAlpha in TEXTURES: partly not drawn on 3D floors

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
boris

[g2.2pre-2123] CopyAlpha in TEXTURES: partly not drawn on 3D floors

Post by boris »

When using a texture defined in TEXTURES on a 3D floor that contains a patch with style CopyAlpha, no pixel is drawn at all if (apparently) the alpha value is in a certain range. It works as expected in ZDoom.

Screenshot:

Image

Example WAD: http://88.198.197.45/boris/doom/copyalpha.wad
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: [g2.2pre-2123] CopyAlpha in TEXTURES: partly not drawn on 3D floors

Post by Graf Zahl »

Just one note. This is wrong in both.

GZDoom does not recognize that the texture has an alpha channel and selects an incorrect blend mode and ZDoom simply ignores it. ZDoom can't fix this, though.
Of course I am going to address this but then the texture still won't look like you'd expect because the lower part would be translucent.

The main error is that you used the wrong mode for copying the patch. What you want is 'overlay', not 'copyalpha'.
boris

Re: [g2.2pre-2123] CopyAlpha in TEXTURES: partly not drawn on 3D floors

Post by boris »

I just noticed that it happens on 2-sided lines, too.
Guest

Re: [g2.2pre-2123] CopyAlpha in TEXTURES: partly not drawn on 3D floors

Post by Guest »

Thanks for the info, works like I want it with "Overlay".
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: [g2.2pre-2123] CopyAlpha in TEXTURES: partly not drawn on 3D floors

Post by Graf Zahl »

fixed. Now the textures are being rendered with alpha. This also exposed another problem: Textures with translucency were never checked for on 3D floors and portals.
Locked

Return to “Closed Bugs”