Skip to content
This repository has been archived by the owner on Nov 30, 2020. It is now read-only.

Changed TAA Jitter method to include camera matrix in calculations #377

Open
wants to merge 1 commit into
base: v2
Choose a base branch
from

Conversation

JustinasMa
Copy link

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.

…on to existing matrix rather than creation of a new one
@JustinasMa
Copy link
Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant