FWGS / xash3d-fwgs

Xash3D FWGS engine.
1.53k stars 228 forks source link

[OpenGL renderer] Texture flickering errors #1817

Open vanfanel opened 6 days ago

vanfanel commented 6 days ago

Environment information

Xash3D engine version: latest GIT code HLDSK version: latest GIT code Operating System: GNU/Linux 64bit (Debian testing) System architecture: amd64 Graphics system: Intel XE graphics - latest stable MESA (24.2.3) on Wayland (latest stable Wayfire 0.9.0 compositor) and/or KMS/DRM

Bug information Some in-game textures seem to show flickering in-game, which seems similar to Z-fighting problems to me. This is one of the first places where it can be seen:

https://github.com/user-attachments/assets/fb6e1990-9b6b-4641-a3b6-7f7139d1b803

I have tried disabling/enabling every video-related option in the menu, and nothing seems to have any affect on this (disabling VBOs doesn't affect the bug, either). Only happens in OpenGL graphics mode, doesn't happen in software mode.

Any idea on what could be causing this? Known bug?

Thanks!

a1batross commented 6 days ago

Z fighting happens here because two brushes intersect very precisely. I'm not sure if there is a way to workaround this from renderer side.

вс, 22 сент. 2024 г., 16:27 Manuel Alfayate Corchete < @.***>:

Environment information

Xash3D engine version: latest GIT code HLDSK version: latest GIT code Operating System: GNU/Linux 64bit (Debian testing) System architecture: amd64 Graphics system: Intel XE graphics - latest stable MESA (24.2.3) on Wayland (latest stable Wayfire 0.9.0 compositor) and/or KMS/DRM

Bug information Some in-game textures seem to show flickering in-game, which seems similar to Z-fighting problems to me. This is one of the first places where it can be seen:

https://github.com/user-attachments/assets/fb6e1990-9b6b-4641-a3b6-7f7139d1b803

I have tried disabling/enabling every video-related option in the menu, and nothing seems to have any affect on this (disabling VBOs doesn't affect the bug, either). Only happens in OpenGL graphics mode, doesn't happen in software mode.

Any idea on what could be causing this? Known bug?

Thanks!

— Reply to this email directly, view it on GitHub https://github.com/FWGS/xash3d-fwgs/issues/1817, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYQTAII6TOPJ7HBMNQN6L3ZX2SQ5AVCNFSM6AAAAABOUPEEXWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU2DCMBSHEZDENY . You are receiving this because you are subscribed to this thread.Message ID: @.***>