playdeadgames / temporal

Temporal Reprojection Anti-Aliasing for Unity 5.0+
MIT License
1.84k stars 192 forks source link

Don't respond to runtime FoV change #26

Open ThomasChen1220 opened 3 years ago

ThomasChen1220 commented 3 years ago

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.