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

Layer Blend Mode Property #3932

Open
Paperdomo101 opened this issue Apr 19, 2024 · 2 comments
Open

Layer Blend Mode Property #3932

Paperdomo101 opened this issue Apr 19, 2024 · 2 comments
Labels
feature It's a feature, not a bug.

Comments

@Paperdomo101
Copy link

Images intended to be rendered with blend modes other than alpha blend don't display accurately in Tiled.

It would be great if layers had a blend mode property, choices would include additive, multiplied, subtractive, and default alpha blend.

Currently, I just a custom property to set the blend mode in my engine, but obviously this doesn't fix it rendering inaccurately in Tiled.

Demo:
gui
side_by_side

@Paperdomo101 Paperdomo101 added the feature It's a feature, not a bug. label Apr 19, 2024
@eishiya
Copy link
Contributor

eishiya commented Apr 19, 2024

This is not currently possible in Tiled without a massive performance hit, AFAIK. There is already a plan to write a different renderer that would allow blending modes and even custom shaders: https://github.com/mapeditor/tiled/wiki/New-Hardware-Renderer

@Paperdomo101
Copy link
Author

Ok, thanks for letting me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature It's a feature, not a bug.
Projects
None yet
Development

No branches or pull requests

2 participants