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

Add Shader Support / e.g. black and white filter #243

Open
srcimon opened this issue Mar 11, 2024 · 3 comments
Open

Add Shader Support / e.g. black and white filter #243

srcimon opened this issue Mar 11, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@srcimon
Copy link
Owner

srcimon commented Mar 11, 2024

No description provided.

@srcimon srcimon added the enhancement New feature or request label Mar 11, 2024
@srcimon
Copy link
Owner Author

srcimon commented Mar 12, 2024

Add blur for water effect / fix outer pixel not blurred

@srcimon
Copy link
Owner Author

srcimon commented Mar 12, 2024

SpriteDrawOptions.originalSize().shader(Shaders.GREYSCALE)
graphics().shaders().setDeaultShaders(Shaders.BLURRED)

@srcimon
Copy link
Owner Author

srcimon commented Mar 18, 2024

Assets.addPostAction(Sprite.class, sprite -> srite.prepareShader(Shader))

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

No branches or pull requests

1 participant