Ideas on how to do a chromatic aberration/rgb split effect?

583 views
Skip to first unread message

JC Leyba

unread,
Jun 28, 2014, 5:56:43 PM6/28/14
to haxef...@googlegroups.com
In the past I'd have tried to use a Pixel Bender shader, but Pixel Bender is basically not at all supported anymore and it runs terribly. I don't know the first thing about AGAL or HXSL or even if those things would work at all with HaxeFlixel so I've been trying to come up with a way. 

As far as I've got is thinking maybe I should fake it by doing something similar to the blur effect tutorial but with three buffers to stamp and somehow messing around with RGB values of the stamps. 

I'm more looking for nudges in the right direction and input than, like, actually technical help. Basically, should I see if AGAL or HXSL work? Or keep trying the stamp way I mentioned? Anything would be appreciated. Thank you. 

SruloArt

unread,
Jun 28, 2014, 6:17:30 PM6/28/14
to haxef...@googlegroups.com

Ohmnivore

unread,
Jun 28, 2014, 9:54:12 PM6/28/14
to haxef...@googlegroups.com
I managed to make something like it work (without seriously compromising performance): http://ohmnivore.elementfx.com/347/as3-software-shader-test/#.U69xnPldVAc

Ohmnivore

unread,
Jun 28, 2014, 9:55:00 PM6/28/14
to haxef...@googlegroups.com
Oh nevermind I used pixel bender


On Saturday, June 28, 2014 5:56:43 PM UTC-4, JC Leyba wrote:

Xavier Belanche

unread,
Jul 1, 2014, 7:36:39 AM7/1/14
to haxef...@googlegroups.com
Sorry for my ignorance but is it possible to put a gl shader on the HaxeFlixel drawing renderer? That could be interesting to achieve some effects but guess it could only work on native platforms, isn't?

Gama11

unread,
Jul 1, 2014, 7:38:44 AM7/1/14
to haxef...@googlegroups.com
Post-processing shaders are technically possible on native targets, yes. More info here.

Xavier Belanche

unread,
Jul 2, 2014, 4:25:59 AM7/2/14
to haxef...@googlegroups.com
But not on Flash target I guess?

Aaron Styles

unread,
Jul 21, 2014, 8:59:21 AM7/21/14
to haxef...@googlegroups.com
Any news on post processing shaders being rolled into dev?

From what I can see the branch that has been worked on is working fine...

Xavier Belanche

unread,
Jul 24, 2014, 3:58:04 AM7/24/14
to haxef...@googlegroups.com
Yep, any news? 

Nina Nina

unread,
Jul 24, 2014, 2:58:55 PM7/24/14
to haxef...@googlegroups.com
Found the issue opening.
Improve post-process support - https://github.com/HaxeFlixel/flixel/issues/992

2014年7月24日木曜日 16時58分04秒 UTC+9 Xavier Belanche:
Reply all
Reply to author
Forward
0 new messages