Gigatron's Forum Posts

  • I was always looking for some effect like this in construct!

    https://www.shadertoy.com/view/3tlXDS

    Hi , this shader use buffer and multi texture iChannel0 - 1 - 2 ;

    in past i converted something similar but ... you can find in effect list ;

    if you really want this one , i can convert it wiht 1 texture and color blend.

    First of all c2 use 2 texture one for front and the second for back this is the reason why we can not use shadertoy 4 textures based shader;

    I think it's sound like this one ;

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

    Regards

  • Gigatron, thanks for your reply. Thumbs up for you working & learning as hard as you do. I feel your fire here in germany. If you ever are in my region, you will be served a coffee or tea and a cake!

    :) Thank you very much ; I will contact you when I take a tour in Germany..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Any plans on releasing Shadertoy plugin soon? Gigatron

    Also there was a windows standalone that would converted the shadertoy plugins to c2 effect,is this still on hold or do you plan to code it further?

    Sorry to answer late, i was on vacation somewhere in europe; I will publish the plugin very soon;

    The other shatertoy to c2 converter was writen with an old version of delphi;

    but i would like to convert it to C# luangage , i must learn this C# quickly; need for my professional work.

    Regards

  • It's ok. All the demos work fine for me. The problem appears after I apply effect in the C2.

    Here is the the fx, install it and try if it's ok ..

    http://gigatron3k.free.fr/html5/C2/FX/seasc/seafx.zip

    I am waiting for your feedback ... and i go to drink coke :)

  • bangoo ; is this demo working for you ?

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

    After that i will publish the corrected fx ... the problem was i hope :)

    glsl Mix command .. with vec4 !

  • --- The only problem is with the blue gradient that appears and bounces on the screen.

    This is not a problem ... i have the same thing ; so

    I know the problem for you , i will take a look seascape.fx to fix the issue you have.

    Be patient ;

    Regards

  • Hi I spent 4 hours reproducing the problem ... i ve made seascape01 fx based on this fx on glslsandbox : http://glslsandbox.com/e#60739.1

    bangoo said display is ok for him; so i am waiting feedback to isolate the problem;

    Nothing changed fx : http://gigatron3k.free.fr/html5/C2/FX/sea01.zip

    Wait and see :)

  • Ok now, i made the same shader to C2 fx nothing really changed to see

    if this look good in your machine or it's shader problem;

    Download this file .capx included copy shader files on your effect directory

    http://gigatron3k.free.fr/html5/C2/FX/sea01.zip

    seascape01.fx and seascape01.xml then open capx file in C2 and try it , finnaly

    tell me what happened :)

  • I have launched the effect on the other PC (radeon 560 rx videocard) and got the same problem.

    Hi can you tell me how this page is for you ?

    http://glslsandbox.com/e#60739.1

    this is the original shader from glslsandbox without parameters ;

    Regards

  • Much appreciated! However, I get this message when I try to run it :\

    And this text below that:

    http://localhost:50000/glwrap.js, line 511 (col 4)

    Sorry, unfortunately i can't edit this file.. this is the render file of C2 !

  • OK, the file size is 1920x1200px! My bad!

    Maybe this new verison work with non power of two images;

    With firefox 72.0.1 (64bit) it's ok for me ;

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

  • Ah, OK. I think I understand, thanks!

    Yeah it seems like it worked on that page, I have a GTX 1070.

    So , it's not working for me ; in the shadertoy plugin i've made the canvas use

    webgl1 and standard derivatives functions are working ;

    here is the link to test this fx on C2;

    http://gigatron3k.free.fr/html5/C2/FX/pixelscale.zip

    Regards

  • Neat! Yeah Godot is interesting but I'm pretty bad with code still.

    Is the shadertoy plugin an addon for Construct 2? I'm a little unsure how I'd use that code in a project, if possible.

    Thanks!

    I can do that for you but standard derivatives not working for me with C2 runtime ! You must test de fx .. it will be ready for tomorrow .

    Standard derivatives : dFdx, dFdy, and fwidth <-- this one is used in the shader you want

    fwidth — return the sum of the absolute value of derivatives in x and y

  • At shader stack where i can put another shader code into and blend both together. I cant wait to play with your new plugin. I have problems with the online version to load up png files?

    https://imgur.com/a/sIQVmch

    Are your png size is power of two ; like 64x64 or 128x128 or 256x256 512x512..

    or please can you post your shader code here ?

    Thank you

  • thanks you McKack , i made my first shader with godot in 5 mins after quick reading doc ... never used godot!

    just for fun tested godot and play with it; converting 2 shaders and exported to html5;

    http://gigatron3k.free.fr/html5/godot/gtest/test.html

    Heavy to load webasm ..

    They speaking version 4.0 .. wait and see there ;