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

Dark Camera on iOS #11

Closed
Archi97 opened this issue Jun 27, 2022 · 3 comments
Closed

Dark Camera on iOS #11

Archi97 opened this issue Jun 27, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@Archi97
Copy link

Archi97 commented Jun 27, 2022

Describe the bug
Zappar camera is Darker compared with default camera. Why and how to fix?
image

Smartphone (please complete the following information):

  • Device: Iphone all versions
  • OS: 13+,14+,15+
  • Browser [e.g. stock browser, safari]
  • Version Zappar version 3.0.1
@nfynt-zap nfynt-zap added the bug Something isn't working label Jun 27, 2022
@Archi97
Copy link
Author

Archi97 commented Jun 28, 2022

@nfynt-zap tried what you said. but didn't work. same result(maybe a bit different)

@nfynt-zap
Copy link
Collaborator

Thanks for reporting this @Archi97

While we fix this at the root level, you can try either of the following two approaches to work around this for now:

  1. Switch to Linear Color space mode from Project Settings/Player/Other Settings.

  2. Download the new ZapparCameraBackground.cs and CameraBackgroundShader.shader and replace them in respective directories of @uar/Runtime/ and @uar/Resources/Shader/, which will take care of gamma correction. Next, in ZapparCameraBackground script in your scene, you would want to set the Gamma Correction value as 2.2, though feel free to set it as per your requirement.
    image

Note that this is meant as temporary fix only and I'll update this thread when we have an official fix released for this.

Best,

@Archi97
Copy link
Author

Archi97 commented Jun 29, 2022

@nfynt-zap thank you. i have tried 2-n version. Works great.

@Archi97 Archi97 closed this as completed Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants