Skip to content

Fix SSG fire "bleeding line"#862

Open
andrikpowell wants to merge 1 commit intokraflab:masterfrom
andrikpowell:dsda-fix-ssg-bleeding-line
Open

Fix SSG fire "bleeding line"#862
andrikpowell wants to merge 1 commit intokraflab:masterfrom
andrikpowell:dsda-fix-ssg-bleeding-line

Conversation

@andrikpowell
Copy link
Copy Markdown
Contributor

So this does work... I'm partly concerned that it could maybe be slightly taxing on the software renderer?

The PrBoom renderer is annoying because when it comes to drawing the player's weapons, it can sometimes bleed outside of the bounds, due to how it stretches sprites. This clamps it so that it never "wraps around".

This was extremely relevant in some resolutions, where when the SSG was fired on it's lowest point, the top of the SSG firing sprite would "wrap around" to the bottom of the sprite creating a red/orangish line as seen here:

image

My resolution of testing was 2560x1440, where this could happen consistently. It's much more noticeable when running the Minor Sprite Fix which fixes the SSG firing animation (Nyan includes this automatically).

Related is a PrBoom PR coelckers/prboom-plus#181 and issue coelckers/prboom-plus#95 that tried to fix the opposite with the bleeding on the top of the weapon. Maybe there's a way to simplify these fixes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant