[EFFECT] VignetteColor

Share your Construct 2 effect files

Post » Wed Jul 13, 2016 7:04 pm

Vignette with RGB color and intensity parameters.

requested by @blurymind

Image

https://dl.dropboxusercontent.com/u/22173473/VignetteColor%20fx.rar

You can find a similar solution posted by @Funky Koval on the original request forum posted by blurymind.
B
21
S
6
G
8
Posts: 1,215
Reputation: 7,881

Post » Thu Jul 14, 2016 9:54 pm

@chrisbrobs You are the man! Thank you sir! Amazingly fast :)
B
38
S
14
G
4
Posts: 426
Reputation: 5,686

Post » Tue Jul 19, 2016 4:59 pm

@chrisbrobs - Does this only work on a sprite? or can it be applied to a whole layer edge?
B
83
S
40
G
15
Posts: 993
Reputation: 16,909

Post » Thu Jul 21, 2016 1:08 pm

@justifun

Does this only work on a sprite? or can it be applied to a whole layer edge?

I made the effect using only a sprite object to test ( so probably not).

If I get time I will try to get it working for layers..i will update you if I can sort it out.
B
21
S
6
G
8
Posts: 1,215
Reputation: 7,881

Post » Fri Jul 22, 2016 1:36 pm

@justifun

I added a couple of lines to the fx file so that it works on layers now.
-------------------------------------------------------------
Insert the following 2 lines below line 6 -

uniform mediump float pixelHeight;
uniform mediump float pixelWidth;
--------------------------------------------------------------
The RAR file in the first post has been updated.

Note-
You must have sprite/back ground objects on the the layer that the effect is applied to,In order for you to see the effect.
B
21
S
6
G
8
Posts: 1,215
Reputation: 7,881


Return to Effects

Who is online

Users browsing this forum: No registered users and 0 guests