[Effect] RGBA-Channel separation

Share your Construct 2 effect files

Post » Sun Feb 10, 2013 8:31 pm

Image
RGBA-Channel separation V1.0

(FX and XML)

example capx

A shader to split the RGBA-channels vertically and horizontally by a given offset. Inspired by David Clark who wrote this shader for Construct Classic.

Usage:
Put the .fx and .xml file under "Construct 2\effects".
Enter pixel values to shift the desired channels.
The Intensity parameter weakens or strengthens the effect.

You could use this for a simple chromatic aberration effect; just set the red channel to something like 10px and the blue channel to -10px. Add some blur for extra eye candy.
Last edited by oppenheimer on Thu Nov 13, 2014 5:10 pm, edited 2 times in total.
B
59
S
7
G
2
Posts: 93
Reputation: 4,228

Post » Sun Feb 10, 2013 10:53 pm

Nice!
Hey maybe the same technique could be used with a red/cyan shader connected to the layers parallax, for a stereo 3d effect?
B
20
S
5
G
8
Posts: 325
Reputation: 6,473

Post » Mon Feb 11, 2013 8:14 am

@lemo

yeah, it might work if we had some 3d depth to play with. this must be tranlated as a color shift according to screenspace. check out that wikipedia article about anaglyph 3d. in fact, it'll be hard to render 2 different scenes, one for the left and one for the right eye, to create the 3d vision. but try it out, a simple parallax could be possible imho.

edit: anaglyph 3d has been dicussed here, too.oppenheimer2013-02-11 08:22:59
B
59
S
7
G
2
Posts: 93
Reputation: 4,228

Post » Mon Feb 11, 2013 6:26 pm

@oppenheimer i got a broken zip archive..please,can u check if it's working or not?ty in advance ^^
B
159
S
38
G
11
Posts: 229
Reputation: 17,361

Post » Mon Feb 11, 2013 6:32 pm

edit: removed zip due to winrar-incompatibilities
Last edited by oppenheimer on Thu Nov 13, 2014 5:12 pm, edited 1 time in total.
B
59
S
7
G
2
Posts: 93
Reputation: 4,228

Post » Mon Feb 11, 2013 8:40 pm

@oppenheimer tnx so much for fast reply...everything ok now ;)
B
159
S
38
G
11
Posts: 229
Reputation: 17,361

Post » Fri Feb 15, 2013 12:44 pm

Exactly what I've been looking for. Thank you!
B
39
S
12
G
8
Posts: 580
Reputation: 7,108

Post » Sat Oct 26, 2013 9:10 pm

This is very cool! I'm curious what kinds of settings folks are using to achieve a good anaglyphic effect.

I have amblyopia and am pretty much blind in my right eye so...I can't really trust what I see without having to almost completely shut my left eye. Hard to explain but anyway, I'm curious what works best for others.

Thanks!!
B
9
S
3
G
4
Posts: 80
Reputation: 3,268

Post » Mon Jul 28, 2014 7:09 pm

Thanks for sharing. Just what I needed for my project.
B
12
S
2
Posts: 60
Reputation: 845

Post » Tue Nov 11, 2014 3:07 pm

Hey mate, wanted to report (again?) that the zip archive is still broken. No probs with the stand-alone files. I'm using WinRAR.
B
33
S
9
G
1
Posts: 153
Reputation: 2,998

Next

Return to Effects

Who is online

Users browsing this forum: No registered users and 0 guests