playdeadgames/temporal

Don't respond to runtime FoV change

Opened this issue · 0 comments

Motion Vector currently don't respond to camera FoV change. This is because in VelocityBuffer.cs, prevVP is not using previous projection matrix.
paramPrevVP[0] = currP * prevV;
paramPrevVP_NoFlip[0] = currP_NoFlip * prevV;
This simplified things for motion vector+camera jitter. Not sure how to improve this though.