79458263

Date: 2025-02-21 18:06:00
Score: 1
Natty:
Report link

It's difficult to consider what might go wrong without the ability to play with it, but the first step I would take for alignment is to first render the depth texture as a regular grayscale texture. Then I'd render both the color and depth textures on planes in a way that makes it easier to visualize - either to the screen or a plane with one overlaid and the alpha set lower, or perhaps flipping between rendering one texture or the other each frame.

The idea is to make it as easy as possible to see exactly how the textures line up, before you do any projection. I had similar problems a few years ago and doing this helped me enormously.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ChrisOrris