Skip to content

Rendering bug in Stacked-sector portals and reflective flats fix #3183

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dileepvr
Copy link
Contributor

@dileepvr dileepvr commented Jul 6, 2025

Stacked-sector and planemirror portals stencil rewrite to address rendering bug with stencil cap.

Discord user named "Mud" reported a rendering bug under "technical-issues" titled "Visual bug with portals", wherein viewing a stacked-sector portal from the top results in a small (often triangular) shape near the center of the view. They uploaded this video-recording from one of their maps:

2025-07-03_19-46-30.mp4

A similar visual bug occurs in reflective flats.
The size of the visual artifact depends on the absolute height/z-value of the plane containing the sector-portal or reflection. The following maps have all flat heights close to -32000.f to exaggerate the effect. In most normal maps, the artifacts will cover a small area of the screen.
Just load the maps and look down. Move around. Duck. etc.

visual_bug_floormaps.zip

The effect can be made to appear in reflective ceilings or sector portals when viewed from above too. The absolute heights will need to be close to +32000.f to increase the size of the artifacts then.

@dileepvr
Copy link
Contributor Author

dileepvr commented Jul 6, 2025

One of the two artifacts only affects Vulkan renderer.

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