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

Inconsistent render behavior between editor and WebGL implementation #1015

Open
tshadowknight opened this issue Jun 19, 2024 · 3 comments
Open

Comments

@tshadowknight
Copy link

Hi,

I've been using Effekseer in a web project for a while now and things have been working fine but I have run into an issue.
The issue being that for certain combinations of elements with different blend modes the end result is different between the editor and the runtime.

I have an example effect set up that highlights my problem: subtract_test.zip

The setup is:
-one pane with blend mode blend, blue in example
-one pane with blend mode subtract, pure white in the example(appears black)
-one particle effect with blend mode add, white in the example

In the editor the final result is like this:

image

The particles viewed through the panes appear blue.

In the runtime the final result is like this:

image

The particles viewed through the panes appear white.

Since I've been experimenting with using negative blend panes for tinting an effect, having this inconsistency is rather inconvenient.
And for the record the effect achieved in editor seems preferable from my end at least. But the most important issue is the lack of consistency.

I can only confirm this issue exists when using the WebGL runtime so I am unsure if this an issue specific to that runtime or a core issue.

Kind regards,
TSK

@tshadowknight
Copy link
Author

An example of the issue with a more complex effect for reference:

image

@durswd
Copy link
Collaborator

durswd commented Jun 22, 2024

Subtract is complicated. It depends many things

@tshadowknight
Copy link
Author

Right, so I suppose it'll be better to try and work around it by using non-subtract blend.

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

2 participants