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

Mistake in gradientSubtractShader, should be mutiplied by 0.5 #93

Open
laishere opened this issue Jun 22, 2023 · 0 comments
Open

Mistake in gradientSubtractShader, should be mutiplied by 0.5 #93

laishere opened this issue Jun 22, 2023 · 0 comments

Comments

@laishere
Copy link

velocity.xy -= vec2(R - L, T - B);

should change to

velocity.xy -= vec2(R - L, T - B) * 0.5;
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

1 participant