Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Just a suggestion for docs ... #18

Open
dbarnes10 opened this issue Dec 9, 2024 · 1 comment
Open

Just a suggestion for docs ... #18

dbarnes10 opened this issue Dec 9, 2024 · 1 comment

Comments

@dbarnes10
Copy link

It's important for modes that actually use cloned/created left& right cameras - eg "two displays" - that the user code not use the shortcut Camera.main to access their (main, mono) camera.

Using Camera.main results in undefined and possible buggy code because the cloned/created left and right cameras are also tagged as "MainCamera".

This tagging is necessary so suggest documenting this "gotcha".

Otherwise a big thank you for this terrific script!

@Vital-Volkov
Copy link
Owner

OK thanks, I'll make docs for release.
I set the main tag for S3D cameras only because the main camera should be off in 2 displays mode as it eats fps even without rendering the scene but some Unity's example scenes are not working when no enabled camera in scene with main tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants