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

Implement repeat moving background effect #62

Open
andy840119 opened this issue Oct 6, 2021 · 1 comment
Open

Implement repeat moving background effect #62

andy840119 opened this issue Oct 6, 2021 · 1 comment
Labels
shader New or fix shader effect.

Comments

@andy840119
Copy link
Member

image
something like this

should be able to have those properties:

  • texture
  • spacing (two vector)
  • direction
  • speed
  • (optional)customized easing and base size
@andy840119 andy840119 added the shader New or fix shader effect. label Oct 6, 2021
@andy840119
Copy link
Member Author

andy840119 commented Oct 24, 2021

Still have some missing property need to be implemented:

  • should be able to decide background colour (will apply if alpha is zero?
    e.g: mix(backgroundColour, repeatSampleColor, repeatSampleColor.a);, also should assign default colour.
  • deal with border color (black now, looks weird.)
    might be solved by first way.

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

No branches or pull requests

1 participant