What shader effects do you want?

Share your Construct 2 effect files

Post » Mon Mar 27, 2017 8:14 am

iyenal222 wrote:OK thanks but for #define... (#define REPEAT_Y 1000.0) I leave it like that ?


Yes #define is same ;

lerp not exist in glsl but here is the function ;

Code: Select all
vec4 lerp(vec4 colorone, vec4 colortwo, float value)
{
   return (colorone + value*(colortwo-colorone));
}


OR use glsl mix;

Code: Select all
mix(_Color1,_Color2,value);
http://gigatron3k.free.fr/Intro/

https://www.shadertoy.com/user/gigatron

https://twitter.com/realistquantum

Ezekiel 1-4 ; ufo landing explanation ..

CONSTRUCT 2 THE ONLY FAST WAY TO HTML5

Image
B
62
S
21
G
29
Posts: 822
Reputation: 22,232

Post » Tue Mar 28, 2017 7:03 pm

I wonder how will can edit effects in C3 since the addons are added using a manager and seems we can't edit them at least in this beta :S
B
24
S
10
G
3
Posts: 553
Reputation: 4,483

Post » Tue Mar 28, 2017 9:51 pm

matriax wrote:I wonder how will can edit effects in C3 since the addons are added using a manager and seems we can't edit them at least in this beta :S


@matriax
Allready looked inside C3 ......

for example ... cr.shaders ={}
cr.shaders["myfirstshader"]

Code: Select all
cr.shaders = {};
cr.shaders["myfirstshader"] = {"src":"varying mediump vec2 vTex;\nuniform lowp sampler2D samplerFront;\nuniform mediump float pixelHeight;\nuniform mediump float lineHeight;\nvoid main(void)\n{\nvec2 uv=vTex ;\ngl_FragColor =vec4(uv.x,uv.y,0.0,1.0);\n}","extendBoxHorizontal":0,"extendBoxVertical":0,"crossSampling":false,"preservesOpaqueness":true,"animated":false };

Not hard to adapt all shaders i have, but syntax is bad !!!
To edit shader now you must work on local mode ;

I was expecting something spectacular, for now I find C2 much better.
Especially as I see glmatrix 1.0.1 ... a real nightmare, am I dreaming ? :)
However i am on C2 until 2019 ... and continue to make shaders :)
http://gigatron3k.free.fr/Intro/

https://www.shadertoy.com/user/gigatron

https://twitter.com/realistquantum

Ezekiel 1-4 ; ufo landing explanation ..

CONSTRUCT 2 THE ONLY FAST WAY TO HTML5

Image
B
62
S
21
G
29
Posts: 822
Reputation: 22,232

Post » Wed Mar 29, 2017 6:56 am

@Gigatron Oh! So you only will work on C2 shader, or you ocassionally will do some C3 shaders? if i remember well you said you will stop on C2 and start on C3 so i guess your first impresions were bad :S .

Hope they create some kind of window on you can code the FX directly inside the C3 editor and see how the effect looks with their text editor or similar, like in shadertoy, since now all is canvas can be done.
B
24
S
10
G
3
Posts: 553
Reputation: 4,483

Post » Wed Mar 29, 2017 3:08 pm

@matriax
For the moment I will stay on C2. And wait until C3 is well under development. My first impressions are bad yes , I don't like it at the moment. So I continue on C2 that I find fantastic when I saw C3 :)
http://gigatron3k.free.fr/Intro/

https://www.shadertoy.com/user/gigatron

https://twitter.com/realistquantum

Ezekiel 1-4 ; ufo landing explanation ..

CONSTRUCT 2 THE ONLY FAST WAY TO HTML5

Image
B
62
S
21
G
29
Posts: 822
Reputation: 22,232

Post » Tue May 30, 2017 9:43 am

I found an amazing Trail Effect from this website with source code already but i have 0 programming knowledge. Is there anyone who can turn this Trail Effect into EFFECT or PLUGIN?
B
30
S
12
G
4
Posts: 67
Reputation: 4,250

Post » Mon Jun 05, 2017 9:51 pm

@jance0405
Your request is on the way ;
What option would you like ?
In demo we have num particles; radius and x,y pos of mouse ...
So quickly 200 particles running at full speed now:
http://gigatron3k.free.fr/html5/C2/plugin/ptrail/
http://gigatron3k.free.fr/Intro/

https://www.shadertoy.com/user/gigatron

https://twitter.com/realistquantum

Ezekiel 1-4 ; ufo landing explanation ..

CONSTRUCT 2 THE ONLY FAST WAY TO HTML5

Image
B
62
S
21
G
29
Posts: 822
Reputation: 22,232

Post » Tue Jun 06, 2017 12:19 am

would it be possible for this shader to be added?

https://www.shadertoy.com/view/llj3Dz
B
25
S
14
G
42
Posts: 60
Reputation: 23,238

Post » Tue Jun 06, 2017 12:49 am

Sure.... tomorrow
http://gigatron3k.free.fr/Intro/

https://www.shadertoy.com/user/gigatron

https://twitter.com/realistquantum

Ezekiel 1-4 ; ufo landing explanation ..

CONSTRUCT 2 THE ONLY FAST WAY TO HTML5

Image
B
62
S
21
G
29
Posts: 822
Reputation: 22,232

Post » Tue Jun 06, 2017 2:49 am

Gigatron wrote:Sure.... tomorrow

Wow thank you!!!
B
25
S
14
G
42
Posts: 60
Reputation: 23,238

PreviousNext

Return to Effects

Who is online

Users browsing this forum: No registered users and 0 guests