BlendMode.ADD too bright on Windows target

81 views
Skip to first unread message

Miguel M.

unread,
Mar 27, 2016, 8:46:41 PM3/27/16
to HaxeFlixel
Hello,
I am trying to use the ADD Blendmode in order to achieve a sort of lighting effect. It seems to work fine on the flash target, but is too bright when targeting Windows (almost like Hardlight):

Flash:Windows:


Has anyone come across this issue before, or know of any solution?
Enabling Openfl-Next makes the game unbearbly laggy.
Thank you in advance!

Ashiq A.

unread,
Mar 27, 2016, 9:32:49 PM3/27/16
to haxef...@googlegroups.com
Did you try on Neko?

--
HaxeFlixel Development Community
See our github https://github.com/haxeflixel/ and our documentation http://haxeflixel.com/documentation/
---
You received this message because you are subscribed to the Google Groups "HaxeFlixel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to haxeflixel+...@googlegroups.com.
Visit this group at https://groups.google.com/group/haxeflixel.
To view this discussion on the web visit https://groups.google.com/d/msgid/haxeflixel/8c09335d-6060-4e83-bdc6-7836ddaa17ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Miguel M.

unread,
Mar 28, 2016, 7:28:40 AM3/28/16
to HaxeFlixel
No; why?

Ashiq A.

unread,
Mar 28, 2016, 7:36:34 AM3/28/16
to haxef...@googlegroups.com
No particular reason; just to see which of the other two it more closely resembles. Neko is pretty easy to set up and build against (the Neko installer comes with Haxe).

On Mon, Mar 28, 2016 at 7:28 AM, Miguel M. <migue...@gmail.com> wrote:
No; why?


--
HaxeFlixel Development Community
See our github https://github.com/haxeflixel/ and our documentation http://haxeflixel.com/documentation/
---
You received this message because you are subscribed to the Google Groups "HaxeFlixel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to haxeflixel+...@googlegroups.com.
Visit this group at https://groups.google.com/group/haxeflixel.

Mike Evmm

unread,
Mar 28, 2016, 8:37:06 AM3/28/16
to haxef...@googlegroups.com
Neko wields the same results as Windows :(

You received this message because you are subscribed to a topic in the Google Groups "HaxeFlixel" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/haxeflixel/OB7ymxN8PJU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to haxeflixel+...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Miguel Murça

Miguel M.

unread,
Mar 30, 2016, 4:58:35 PM3/30/16
to HaxeFlixel
Bump?

Ashiq A.

unread,
Mar 30, 2016, 5:00:35 PM3/30/16
to haxef...@googlegroups.com
Can you please open an issue on the HaxeFlixel repo in GitHub?

You should get a faster/better answer.

(Please share the link -- I would like to know the answer to this...)

--
HaxeFlixel Development Community
See our github https://github.com/haxeflixel/ and our documentation http://haxeflixel.com/documentation/
---
You received this message because you are subscribed to the Google Groups "HaxeFlixel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to haxeflixel+...@googlegroups.com.
Visit this group at https://groups.google.com/group/haxeflixel.

Ashiq A.

unread,
Apr 2, 2016, 2:55:22 PM4/2/16
to haxef...@googlegroups.com
I see that you did (and it got closed/redirected to OpenFL).

If you can reproduce this in a simple OpenFL example, you can post it on http://community.openfl.org.

Miguel M.

unread,
Apr 2, 2016, 4:20:06 PM4/2/16
to HaxeFlixel

Extreme Alex

unread,
Apr 7, 2016, 8:24:59 PM4/7/16
to HaxeFlixel
Additive effect on computers is performed by the graphics card, but in Flash - by CPU's software (simplified) algorthms. Seems that the brighter picture on Windows target is correct.
Of course, you also can use Photoshop, put one image on top of another with the use of Add effect and compare result with an image obtained on PC.

Miguel M.

unread,
Apr 8, 2016, 3:17:13 AM4/8/16
to HaxeFlixel
Photoshop matches the Flash target behaviour, as described in the Expected/Seen; even if the blending itself has to be correct, something is not okay with ADD on native, further evidenced by the fact that alpha doesn't change the overly bright layer on windows (whereas it does on Photoshop and Flash).
Reply all
Reply to author
Forward
0 new messages