WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
This repository was archived by the owner on Nov 30, 2020. It is now read-only.

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

Development

Successfully merging this pull request may close these issues.

1 participant