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

UIHsvModifier works only on gamma-space #145

Closed
HHHHHHHHHHHHHHHHHHHHHCS opened this issue Jan 20, 2019 · 7 comments
Closed

UIHsvModifier works only on gamma-space #145

HHHHHHHHHHHHHHHHHHHHHCS opened this issue Jan 20, 2019 · 7 comments
Assignees
Labels
Milestone

Comments

@HHHHHHHHHHHHHHHHHHHHHCS

i use this in linear but have some problem. I try use GammaToLinearSpace and UNITY_COLORSPACE_GAMMA ,but the effect did not meet expectations.

@mob-sakai
Copy link
Owner

Hi @HHHHHHHHHHHHHHHHHHHHHCS

Thank you for reporting.
I would like to know detail information.
Can you submit screenshots and expected results?

@mob-sakai mob-sakai self-assigned this Jan 21, 2019
@HHHHHHHHHHHHHHHHHHHHHCS
Copy link
Author

Unity 2019.1 Gamma
1

Unity 2019.1 Linear
2

Unity 2018.3 Linear
3

HSV must need gamma color space?

@HHHHHHHHHHHHHHHHHHHHHCS
Copy link
Author

if you reopen unity 2019.1 with linear space,This will look like the third picture.

@mob-sakai
Copy link
Owner

I have found a way to fix the issue! :)

@mob-sakai mob-sakai added bug and removed question labels Jan 21, 2019
@HHHHHHHHHHHHHHHHHHHHHCS
Copy link
Author

Thank you for taking the time to solve this problem. XD

@mob-sakai
Copy link
Owner

Cause of problem: Color space of parameter texture is not linear.

@HHHHHHHHHHHHHHHHHHHHHCS
Copy link
Author

Thank you for solving the problem.

@mob-sakai mob-sakai changed the title UI-Effect-HSV only gamma? UIHsvModifier works only on gamma-space Jan 21, 2019
@mob-sakai mob-sakai added this to the v3.0.3 milestone Jan 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants