[1.1.0, r52] Transparency and horizons

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
Kate
Posts: 25
Joined: Fri Dec 22, 2006 6:31
Location: United States
Contact:

[1.1.0, r52] Transparency and horizons

Post by Kate »

I'm not sure if this is easily reproducable but I seem to be able to get it consistently on certain maps in my project.

When a line_horizon line is in view and smooth sprite edges is enabled, the sprites completely lose their edges at all. But the real problem is that if there's a PNG that uses translucency, it loses it's translucency altogether and becomes a solid square, though the sprites in question have the renderstyle set to ADD and the alpha to 1.0 so you need a png sprite assigned to a thing with those settings to get it to happen.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Can you please make a demo map for the effect?
User avatar
Kate
Posts: 25
Joined: Fri Dec 22, 2006 6:31
Location: United States
Contact:

Post by Kate »

Whoo, that was a difficult bug to reproduce, but I got it. Here. The exact conditions need to be met for this alpha bug to occur:
  • It must be a projectile
  • It must have RenderStyle_ADD
  • It must have an Alpha of 1.0
  • There has to be both sky and line_horizon visible at once
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Thanks. That info helped find the problem. The render style used for additive things with an alpha of 1 doesn't work for anything with an alpha channel.

Fixed.
Locked

Return to “Closed Bugs”