[All?] Models can show through translucent sprites too much

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

[All?] Models can show through translucent sprites too much

Post by Enjay »

I'm not sure if this is actually a bug or just the way things are but I have noticed it for a while now so I may as well flag it up.

Image

That screenshot is of me getting a face-full of fireballs from Korax. However, notice all the dark spots on the ground? Those are flat-shaped models used to make blood splats on the ground that were generated when shooting Korax. For some reason, the models show through the fireballs more than the surrounding ground does. In case it is relevant, the blood actor is set to be slightly translucent too. The trees are also models and do not seem to show this effect.

If you need a test file I can make one up with a bit of time but I figured that you might know what is going on without it.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: [All?] Models can show through translucent sprites too much

Post by Graf Zahl »

I have an idea. Does this happen with all fog types or only with radial fog?
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: [All?] Models can show through translucent sprites too much

Post by Enjay »

All fog modes including "Off".
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: [All?] Models can show through translucent sprites too much

Post by Graf Zahl »

I'd need a demo map to check this.
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: [All?] Models can show through translucent sprites too much

Post by Enjay »

Alright. when I get home I'll try to make something up that makes it easy to see. Dancing around Korax until you get the right kind of fireball explosion in your face and while all the blood splats are visible in the right place is a little annoying to try and replicate so I'll try and create a map that show it easily.
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: [All?] Models can show through translucent sprites too much

Post by Enjay »

OK, here you go. A simple translucent fake fireball actor surrounding a bunch of the models spammed inside the ring of fireballs. Just load the pk3 and you should see the effect. Whilst making this, I have determined that the model actor being translucent is critical. If I make it opaque, then the effect vanishes.
testmodel.pk3
(16.71 KiB) Downloaded 53 times
Just in case it doesn't work for you, this is how the test map looks to me:

[spoiler]Image
Image
Image
Blood splats visible as if there was no fireball in the way but everything else is correctly obscured by them.[/spoiler]
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: [All?] Models can show through translucent sprites too much

Post by Graf Zahl »

Fixed. The depth value used for sprite sorting was never set for models.
Locked

Return to “Closed Bugs”