Skip to content

ColorCycle.shader: fix cycling #57

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

Merged
merged 1 commit into from
May 15, 2022
Merged

ColorCycle.shader: fix cycling #57

merged 1 commit into from
May 15, 2022

Conversation

BahuMan
Copy link
Contributor

@BahuMan BahuMan commented May 15, 2022

fractional part should be calculated AFTER gray value has been added for continuous cycling effect.

(current code would sample gradient color at a value higher than 1.0)

@unitycoder unitycoder merged commit 26c200c into UnityCommunity:master May 15, 2022
@unitycoder
Copy link
Member

thanks!

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

Successfully merging this pull request may close these issues.

2 participants