onnoj / DeusExEchelonRenderer

Fixed-Function Pipeline renderer for Deus Ex (2000), for use with Nvidia's RTX Remix
MIT License
100 stars 2 forks source link

🕷️[BUG] Sky Flicker #27

Open shoober420 opened 2 months ago

shoober420 commented 2 months ago

Windows 11 27695 i9 13900kf @5.8ghz all cores NVIDIA RTX 4090 | 560.94

Video: https://youtu.be/DlxGR-rdH_c?si=dDOZFlX9VMd84T9j

onnoj commented 2 months ago

Thanks for the bug report!

(for quick reference) image

Analysis: Might be a wrong render state, or z-fighting since the skybox is rendered without depth testing. Should check if it happens without RTX as well, might be an artifact from dxvk.

shoober420 commented 2 months ago

I checked to make sure this doesnt happen using other renders naturally, and I couldnt get it to flicker. I tested using the following renders.

Kentie D3D10: https://www.kentie.net/article/d3d10drv/

CW OpenGL: https://www.cwdohnal.com/utglr/

I will test using DXVK next and see if it occurs.

shoober420 commented 2 months ago

I just installed DXVK 2.4 and couldnt get the sky to flicker. I started up Deus Ex and tested using Kentie D3D10 and Echelon after installation (it copied over d3d9.dll file).

Video using Echelon render after DXVK 2.4 installation (limited to 10mb so I had to keep the video under 5 seconds) https://github.com/user-attachments/assets/8a0790f0-00d3-4a9e-b563-35cc001c85ba