[effect] Photo FX

1 favourites
From the Asset Store
Photo Slider Puzzle with unlimited no of grids & pieces
  • Hi , here is another fx for LAYER only please; nice Scarlett

    This fx proably interest someone there; First play with sliders and see if you need this fx ;

    Demo'n fx inside (if you click Download Text) have fun and be cool ;

    http://gigatron3k.free.fr/html5/C2/FX/photo2/

    Regards

    Ps: Don't forget to see my demo contribution for Shadertoy ;

    https://www.shadertoy.com/view/tt3GzB

  • Nice demo on shadertoy!

  • Hi Gigatron, I would like to know if you have ever created a shader that distinguishes the color of a graphic on the same color in the background.

    For example, look at this image, the sprite is the central gray square and the background has several colors.

    When the color of the sprite matches that of the background, the shader draws a black line to distinguish the sprite from the background.

  • Hi i understand the goal ; I am working to port glmatrix 2.7.0 to Construct2 ( working with old version 1.0.1 )

    it's working with 60%. After finished i will try to meditate with samplerBack & samplerFront to blend bg and front layout ... for detect bg color with sprite like you want ...

    Regards

  • I am very curius about this! Gigatron

    Thanks for your hard work!

  • I am very curius about this! Gigatron

    Thanks for your hard work!

    I want to make plugin but it's not working with C2 .. cause old glmatrix version 1.0.1;

    If you want to look what i mean here is some example of litegl.js plugin i would make, litegl using glmatrix 2.0.7 or 2.0.8;

    https://tamats.com/projects/litegl/examples/

    Regards ;

  • Hello Gigatron,

    is this idea than cancelled to implement litegl.js as a plugin in c2 or do you still try it?

    Is there a chance to see you working on the shadertoy to c2 proggi again this year?

  • Hello Gigatron,

    is this idea than cancelled to implement litegl.js as a plugin in c2 or do you still try it?

    Is there a chance to see you working on the shadertoy to c2 proggi again this year?

    I would like to implement litegl.js to C2, the only problem is glwrap.js from Scirra. This file must be modified, must ask Scirra staff if C2 is will be opensource ? For now i am testing stage just rewrite shader part...

    You mean shadertoy plugin ? I can adapt entirly this to C2 as plugin..

    Stay tuned .

    Best Regards

  • Shadertoy as a C2 plugin? Very interesting!

  • Shadertoy as a C2 plugin? Very interesting!

    I would like to show you a demonstration ;

    http://gigatron3k.free.fr//html5/C2/plugin/st/

    take this shaders from st:

    https://www.shadertoy.com/view/Xls3zf#

    https://www.shadertoy.com/view/llfGR7#

    https://www.shadertoy.com/view/Md2SDc

    And so .... copy one of shader to text area and click Load Text fragment,

    normally it's working.

    for changing uniform ;

    eg : https://www.shadertoy.com/view/Xdd3RB

    after shader was copied:

    change this line to : float uZoom = 10.; >> uniform float uZoom;

    to create an uniform from : uZoom

    and then you can change uniform name in textbox to uZoom and change the value ...

    play with ..

    Regards

    PS: complex shaders with bitshift << or >> or newer shader are not working for me,

    i need to change my gfx card :!

    glmatrix is a newer version than old C2 v1.0.1;

    standard derivatives enabled ; etc !

  • Yes! Wonderful work! I hope that this also gets ported to C3, where I do most of my shader work / shader porting. If you need a tester for that or any help, please let me know. Of course, it would be great to also see an export option for a C2 (and C3) effect addon.

    Also, great to see derivatives enabled! This opens up a few new shaders for porting.

  • This is so great! Wonderful work!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Looking at some of the source, I think I understand this a bit better and I see that it would take some work to export to C2 addon, since it's replicating the shadertoy environment with multiple textures, the shader uniforms, etc. Gigatron what are your thoughts on also adding C2 effect addon export?

  • First I must finish this work and after this will see ... I have modified some c2 file... but will try this work with old glmatrix 1.0.1

    You can now load your texture; and compile button is enabled; this mean you get some errors if the shader is not correct written; but test this.

    Don't forget texture must Power of Two size; 2x2,4x4,8x8,16x16,32x32,64x64,128x128 and so on ....

    texture(iChannel0,uv) not working for me this is the reason why it's replaced

    by texture2D(iChannel0,uv) for example ;

    http://gigatron3k.free.fr//html5/C2/plugin/st/

    Regards

    Here is simple shader example to play with uniform ;

    uniform float it; void mainImage( out vec4 fragColor, in vec2 fragCoord ){ vec2 uv = fragCoord/iResolution.xy; vec3 col = texture2D(iChannel0,uv).xyz*it; fragColor = vec4(col,1.0); }

    After loading texture in slot0=iChannel0 you can play with uniform

    name = it ;value 0.5 for example to have an intensity of texture

  • It would be dope to have something like interactiveshaderformat with the ability to save as effect file.

    I need to learn more about shaders. Your making outstanding work with construct2.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)