[EFFECT'S] 3D Anaglyph effects

Share your Construct 2 effect files

Post » Sat May 23, 2015 11:13 pm

3D anaglyph blend from 2 images (left and right pics)

Apply effect to top image (right pic in my example)
Image

1, anaglyphoptimised.fx
2, anaglyphdubios1.fx
3, anaglyphdubois2.fx
4, anaglyphcolor.fx
5, anaglyphhalfcolor.fx
6, anaglyphgrey.fx
7, anaglyphtrue.fx

note- effects 1,2 and 3 have a gamma parameter setting.

Link to files including example CAPX -

https://dl.dropboxusercontent.com/u/22173473/C2Anaglyphs.rar
B
21
S
6
G
8
Posts: 1,215
Reputation: 7,881

Post » Sun May 24, 2015 1:12 am

Wow, I was recently thinking of suggesting that someone do this!

Neat-o!
B
73
S
14
G
1
Posts: 152
Reputation: 5,026

Post » Sun May 24, 2015 6:55 am

Many thanks, chrisbrobs.

zen
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
86
Posts: 5,422
Reputation: 59,530

Post » Sun Jun 07, 2015 1:19 pm

How to change the shader settings if the red/cyan images are reversed-

if your rendered anaglph Image doesn't look right you may need to reverse the rgb front and back combinations?

The following example shows the original front and back blend combination for the anaglyphcolor.fx.


//Original-Combine front and back

front.r = (front.r * 1.0) * front.a;
front.g = (back.g * 1.0) * front.a;
front.b = (back.b * 1.0) * front.a;

Change the above to-

//Reversed-Combine front and back

front.r = (back.r * 1.0) * front.a;
front.g = (front.g * 1.0) * front.a;
front.b = (front.b * 1.0) * front.a;

Image
B
21
S
6
G
8
Posts: 1,215
Reputation: 7,881

Post » Sun May 29, 2016 6:41 am

Thanks!!!
B
157
S
27
G
17
Posts: 912
Reputation: 32,607


Return to Effects

Who is online

Users browsing this forum: No registered users and 0 guests