[effect] Stone

  • OK this time i have done some nice fx from TDM another shadertoy's master.

    Wet stone is the original shader.

    The goal is using this fx on space games like meteors. Please read this following,

    porting those shaders take my time the reason of word Wip is there. So i will finish it if

    the request is more than 10.

    Hope this stones not fall to the earth... like apophis .

    Here is a quick live example space shooter:

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

    Okey this shader is now finalized and released.. ! with some params.. colors rotation etc..

    http://gigatron3k.free.fr/html5/C2/FX/stone.rar

    ..

    Regards

  • Needs something with exaggerated specular highlights.

    Something like Photoshop's "Plastic Wrap" effect.

    Would be a nice shader all on its own.

  • Needs something with exaggerated specular highlights.

    Something like Photoshop's "Plastic Wrap" effect.

    Would be a nice shader all on its own.

    @newt

    I think with this shader we can make your request ...

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

    I will finish this for you next week, sure if you like it..

    Regards ;

  • Hells teeth, Gigatron - that plastic effect is freaky

    Nice effects as usual.

  • Nice. Definitely some interesting things to do with that one.

  • I really like the stone effect. I could see it being a pretty useful addition . Thanks as always for your phenomenal work!

    Some questions:

    Would we be able to alter the geometry, hue, or rotation (angle, and speed) of the stones?

    My fps was around 29, if this was finished I take it that this would improve?

  • I really like the stone effect. I could see it being a pretty useful addition . Thanks as always for your phenomenal work!

    Some questions:

    Would we be able to alter the geometry, hue, or rotation (angle, and speed) of the stones?

    My fps was around 29, if this was finished I take it that this would improve?

    @ultrafop

    Partially yes, rotation angle speed. Geometry ... must see... Playing with radius and displacement variables give a bit differents

    stones. Look the example post.

    Regards

  • > I really like the stone effect. I could see it being a pretty useful addition . Thanks as always for your phenomenal work!

    >

    > Some questions:

    > Would we be able to alter the geometry, hue, or rotation (angle, and speed) of the stones?

    > My fps was around 29, if this was finished I take it that this would improve?

    >

    ultrafop

    Partially yes, rotation angle speed. Geometry ... must see... Playing with radius and displacement variables give a bit differents

    stones. Look the example post.

    Regards

    Veeeeery neat . Keep up the good work!

  • cool but fps is really bad on my pc!

  • Wenutz

    @ultrafop

    Yes this shader draw stones; this mean math calculation drop some fps, but running 60fps on my computer -ati gfxcard.

    ... however try and play with the released version, it's a bit faster now..

  • Needs something with exaggerated specular highlights.

    Something like Photoshop's "Plastic Wrap" effect.

    Would be a nice shader all on its own.

    @newt

    Ok , can you try this shader please ?

    http://gigatron3k.free.fr/html5/C2/FX/plastic.rar

    Regards

  • The locations seem different in the preview than they do on the editor.

    https://drive.google.com/file/d/0BzCTu6 ... sp=sharing

    Otherwise, yep that's the effect.

    A lot of interesting things to do with it. heh

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Wenutz

    ultrafop

    Yes this shader draw stones; this mean math calculation drop some fps, but running 60fps on my computer -ati gfxcard.

    ... however try and play with the released version, it's a bit faster now..

    Hey there Gigatron

    I tested it and the performance is definitely much better. However, if there are more than 9 or 10 stones on screen, my fps drops from 60 to somewhere around 49. I'm running it on a nvidia GTX 560 with an old i7 and 6 gigs of ram.

  • > Wenutz

    > ultrafop

    >

    > Yes this shader draw stones; this mean math calculation drop some fps, but running 60fps on my computer -ati gfxcard.

    > ... however try and play with the released version, it's a bit faster now..

    >

    Hey there Gigatron

    I tested it and the performance is definitely much better. However, if there are more than 9 or 10 stones on screen, my fps drops from 60 to somewhere around 49. I'm running it on a nvidia GTX 560 with an old i7 and 6 gigs of ram.

    @ultrafop

    For maximum speed on C2 side , try to make little sprite like 32*32 or 64*64 block and use scale on events.

    With this way you can show more stones on screen but with low quality.

    In this example i have removed, starfield, explosion fx , and reduced stone sprite to 8x8. Then

    if i use random scale like 0.1+random(0.5) .. it's working well.

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

    Regards

  • >

    > > Wenutz

    > > ultrafop

    > >

    > > Yes this shader draw stones; this mean math calculation drop some fps, but running 60fps on my computer -ati gfxcard.

    > > ... however try and play with the released version, it's a bit faster now..

    > >

    >

    > Hey there Gigatron

    >

    > I tested it and the performance is definitely much better. However, if there are more than 9 or 10 stones on screen, my fps drops from 60 to somewhere around 49. I'm running it on a nvidia GTX 560 with an old i7 and 6 gigs of ram.

    >

    ultrafop

    For maximum speed on C2 side , try to make little sprite like 32*32 or 64*64 block and use scale on events.

    With this way you can show more stones on screen but with low quality.

    In this example i have removed, starfield, explosion fx , and reduced stone sprite to 8x8. Then

    if i use random scale like 0.1+random(0.5) .. it's working well.

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

    Regards

    Hey thanks, that really helped. I still saw a bit of a slowdown at one point when a bunch of large ones randomly culminated but with some tweaking I'm sure it can be workable. Thanks for the time and the cool effect!

    The link for the download doesn't seem to be working for me though.

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