What shader effects do you want?

Share your Construct 2 effect files

Post » Wed Jul 06, 2016 8:43 am

I think I understand how you're doing it, but how will it handle cases whre the remap palette is not a simple two-color gradient? Like that sushi cat image I posted?

Anyway, I'll wait for your shader and try to disect it. Thanks again.
B
8
S
2
G
2
Posts: 85
Reputation: 1,218

Post » Fri Jul 08, 2016 8:36 am

@Gigatron

I've managed to get a full-window version of C2-DEX working well. There are still a few minor issues that do not inhibit the basic functionality of the effect which I'd like to resolve, but it is more or less ready for people to test. I'll post it in its own thread to stop spamming this one, since it's a request theread, but I am eagerly awaiting your version.
B
8
S
2
G
2
Posts: 85
Reputation: 1,218

Post » Sat Jul 09, 2016 6:44 am

Funky Koval wrote:@Gigatron

I've managed to get a full-window version of C2-DEX working well. There are still a few minor issues that do not inhibit the basic functionality of the effect which I'd like to resolve, but it is more or less ready for people to test. I'll post it in its own thread to stop spamming this one, since it's a request theread, but I am eagerly awaiting your version.


sorry but mine is completely diffent i think :(
in fact i know what c-dex do,


not finished gradient mix based demo ; this demo use entire gradient color
this is the reason why it's different but i can achieve this easily .

http://gigatron3k.free.fr/html5/C2/FX/funky
B
48
S
18
G
16
Posts: 644
Reputation: 14,586

Post » Mon Jul 11, 2016 12:14 am

Ok ... after lost against Portugal, i decided to analyze deeply the Cdex glsl,
the correct conversion near %99 is here :
http://gigatron3k.free.fr/html5/C2/FX/funky

instead mixing textured palette with texture ; here is mixing glsl gradient with texture..
will send this glsl to you soon ;
B
48
S
18
G
16
Posts: 644
Reputation: 14,586

Post » Tue Jul 12, 2016 11:52 pm

add a color value to the vignette effect. That would make it much more useful!
B
22
S
7
G
1
Posts: 270
Reputation: 2,674

Post » Wed Jul 13, 2016 12:15 am

blurymind wrote:add a color value to the vignette effect. That would make it much more useful!

@blurymind
can you draw an example image ? then i will study the situation ;
B
48
S
18
G
16
Posts: 644
Reputation: 14,586

Post » Wed Jul 13, 2016 9:19 am

@Gigatron

instead mixing textured palette with texture ; here is mixing glsl gradient with texture..
will send this glsl to you soon ;


Yup. This will settle the out-of-screen sampling problem. I'm doing something similar, but the problem I have is a compact UI for more than two colors - ideally one color is 4 floats, R G B and position, so the UI gets cluttered. Unless it's possible to send vectors from C2 to the shaders... I only saw floats and percentages though...
B
8
S
2
G
2
Posts: 85
Reputation: 1,218

Post » Wed Jul 13, 2016 10:44 am

i am on smarphone
try to convert rgb to float..
for red (255.0,0.0,0.0)/255.0
c2 only use float or percent
B
48
S
18
G
16
Posts: 644
Reputation: 14,586

Post » Wed Jul 13, 2016 11:31 am

@Gigatron - as explained in the other thread- its quite simple - just have the ability to assign a color that is other than black to the vignette.
Here are some examples of different colored vignettes:

here is a red colored vignette in a game - designed to show damage:
http://www.mindorchard.com/images/conte ... ofduty.jpg
http://s28.postimg.org/cw0xjh7rx/vignette2.png

blue vignette for atmosphere(half life):
http://files.gamebanana.com/img/ss/guis ... baac23.jpg

white: http://i.funny.pho.to/preview/vignettin ... ffect.jpeg
blue: http://cdn.digital-photo-secrets.com/im ... gnette.jpg
http://cache3.asset-cache.net/xc/499130 ... ATgORYAR20
pink: http://previews.123rf.com/images/wavebr ... -Photo.jpg

Just google image search 'vignette+color' - you will get a billion results :)
B
22
S
7
G
1
Posts: 270
Reputation: 2,674

Post » Wed Jul 13, 2016 10:44 pm

@blurymind

Sorry this one is already converted..
if you want to include special fx inside/outside the circle tell me ..

http://gigatron3k.free.fr/html5/C2/FX/advignette
B
48
S
18
G
16
Posts: 644
Reputation: 14,586

PreviousNext

Return to Effects

Who is online

Users browsing this forum: No registered users and 0 guests