
Scaled projectile decals
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!
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!
-
- Posts: 1059
- Joined: Sat Mar 27, 2004 8:56 pm
Scaled projectile decals
OK, so question about the plasma gun's decal. ZDoom uses the plasma gun projectile as an alpha overlay for the decal it applies to walls. In the case of projects that apply a filter to upscale projectiles, the alpha decal gets distorted and stretched on the wall. All things considred, shouldn't the alpha map scale appropriately and match the original size of the projectile?


-
- Lead GZDoom+Raze Developer
- Posts: 49193
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Scaled projectile decals
Please post a runnable example for testing.
-
- Posts: 1059
- Joined: Sat Mar 27, 2004 8:56 pm
-
- Posts: 1059
- Joined: Sat Mar 27, 2004 8:56 pm
Re: Scaled projectile decals
Any news on this front, or is it something we'd be better off fixing using decaldefs?
-
- Lead GZDoom+Raze Developer
- Posts: 49193
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Scaled projectile decals
It's a problem deep in the decal implementation which simply ignored the texture scaling. Apparently it still gets past the barriers I erected when rewriting the texture manager to not return unscaled texture sizes anywhere. Unfortunately you posted this right when I was on vacation and the link is dead, so unless you re-upload it so I can check this particular case the issue will remain unsolved.
What renderer is this? Software, hardware or both?
What renderer is this? Software, hardware or both?
-
- Posts: 1059
- Joined: Sat Mar 27, 2004 8:56 pm
Re: Scaled projectile decals
https://drive.google.com/file/d/12FoYGQ ... yG1W0/view
Hardware renderer. The software renderer returns a slightly different error; the overlayed sprite is not cut off, it's just twice the size.
Hardware renderer. The software renderer returns a slightly different error; the overlayed sprite is not cut off, it's just twice the size.
-
- Lead GZDoom+Raze Developer
- Posts: 49193
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Scaled projectile decals
Yes, that's the original error I remember. Apparently part if it has filtered down to the hardware renderer as well.
-
-
- Posts: 17468
- Joined: Mon Oct 27, 2003 12:07 am
- Location: Kuala Lumpur, Malaysia
Re: Scaled projectile decals

GZDoom 4.5.0, software renderer. No mods, no autoload.
Happens only with the following INI setup, though.
You do not have the required permissions to view the files attached to this post.
-
-
- Posts: 17468
- Joined: Mon Oct 27, 2003 12:07 am
- Location: Kuala Lumpur, Malaysia
Re: Scaled projectile decals
It has been known and confirmed for quite some time now that this happens in the software renderer when any of the HQ resizing modes are enabled. I usually play with NormalNx, so when I switch to the software renderer, the stretchy decals will happen. It also affects weapon sprites on the HUD (software renderer).
Bug still exists in GZDoom 4.7.0.
Bug still exists in GZDoom 4.7.0.