PostProcessing icon indicating copy to clipboard operation
PostProcessing copied to clipboard

Changed TAA Jitter method to include camera matrix in calculations

Open JustinasMa opened this issue 8 years ago • 1 comments

Changed GetJitteredPersperctiveProjectionMatrix to take the existing matrix and shift it based on jitter parameters instead of recalculating the whole matrix. This should not alter the jittering of standard cameras in any way, but should still work for some lightly modified projection matrices. It also shows more clearly what is altered when jittering a matrix and thus provides an easier starting point for writing custom jitter methods.

JustinasMa avatar Nov 28 '17 18:11 JustinasMa

Another hurdle for cameras is constant projection matrix resets in post processing. Maybe an Action similar to custom jitter Func for a custom projection matrix reset in PostProcessingLayer would work. I added that feature to PostProcessingLayer in my project, but am not yet sure if this is the best approach.

JustinasMa avatar Nov 29 '17 14:11 JustinasMa