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

Feature request: Applying tint #114

Open
Thijmen opened this issue Mar 18, 2021 · 2 comments
Open

Feature request: Applying tint #114

Thijmen opened this issue Mar 18, 2021 · 2 comments

Comments

@Thijmen
Copy link

Thijmen commented Mar 18, 2021

Hello,

I'm trying to use this awesome library together with PixiJS (again, thank you for the code! :)), but I am stuck on applying tints, so I can color my tiles.

Is someone able to apply tints to this library?

@spassvogel
Copy link
Contributor

Perhaps try using a ColorMatrixFilter ?

@ivanpopelyshev
Copy link
Collaborator

ou have to clone lib source ("src" folder), then add tint as tile param, there are multiple places. Add it to shader too. Its possible, people did that before

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

3 participants