r/GraphicsProgramming • u/Mysterious-Drawer308 • 1h ago
Vr mod help
Seeking graphics programming advice: D3D11 native double-rendering and accumulating darkness in a second render pass
I'm developing a native stereoscopic VR mod for Metro Exodus (original edition, 4A Engine, DirectX 11).
We've successfully implemented native camera control, stable double rendering, GPU eye-image retention and cross-process texture transport.
However, we've encountered a persistent rendering discrepancy.
When rendering twice with the same camera configuration, the second image is darker and structurally different from the first. The darkness also accumulates across subsequent frames.
So far, we've investigated:
- Missing begin-frame command-stream data, which we corrected.
- Temporal anti-aliasing and exposure feedback.
- GPU temporal resource restoration.
- Internal TAA history resource exchanges.
None of these corrections has resolved the visual discrepancy.
Our next approach is to instrument several stages of the rendering pipeline, including the G-buffer, lighting, volumetrics, pre-TAA, post-TAA and final image processing, to identify where the discrepancy first appears.
Has anyone encountered similar behavior when attempting multiple native rendering passes within a single engine frame?
Are there particular renderer-side state changes, temporal resources, GPU synchronization issues or frame lifecycle dependencies you would recommend investigating?
I'm not asking anyone to develop the mod for me. I'm primarily seeking experienced perspectives and diagnostic suggestions.
I can provide comparative screenshots, technical findings and relevant experimental data.
AI disclosure: This project uses ChatGPT, Claude, Claude Code and Codex for technical research, engineering planning, code implementation and analysis. I personally operate the test environment, conduct live gameplay experiments, collect evidence and oversee project decisions. This post was also prepared with AI assistance.
Any insight would be greatly appreciated. Thank you!
•
u/AutoModerator 1h ago
Recently updated rules. Please check that your post is in compliance with Rules 1, 4, 5, and 6 on the sidebar. TL;DR:
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.