Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix z-fighting on bottom texture with skytexture #492

Merged
merged 1 commit into from
Jul 6, 2024

Conversation

Pedro-Beirao
Copy link
Collaborator

If the sector height is 0 and the floor is a skytexture, then in the bottom texture a sky hack would be drawn
I cant seem to figure out why this if statement exists in the first place

This change prevents the sky from being drawn if a bottom texture is already there
So this shouldnt break anything

If the sector height is 0 and the floor is a skytexture,  then in the bottom texture a sky hack would be drawn
I cant seem to figure out why this if statement exists in the first place
@kraflab
Copy link
Owner

kraflab commented May 17, 2024

@andrey-budko do you have any context on this code?

@kraflab
Copy link
Owner

kraflab commented Jul 6, 2024

Going to merge this and hope if there are any issues they get discovered in the beta 🤠

@kraflab kraflab merged commit eb77683 into kraflab:master Jul 6, 2024
4 checks passed
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.

2 participants