Jump to content

Shader Talk


Pryme8
 Share

Recommended Posts

  • 4 weeks later...

@Nabroski Yeah I will get back to it here soon, if you need any help with how its set up let me know!  Also no the water shader has been put on hold I remember your suggestion so Ill research that when I get the chance.  I have work Im doing outside of BJS right now, that is taking up 120% of my time... so thats why Ive been such a ghost.

Umm thanks for keeping up with me on this! 

Link to comment
Share on other sites

 

 

i was sure to have a innovative new idea, to make kind of Hybrid Render between Shadertoy and babylonjs
i start research i saw, oh wonder, it was already discovered and implemented several times. (except in babylonjs)

I think, i kind of a interesting approach, i have some new ideas, - i will continue to work an it from time to time. 

Done
Camera check for y chords. 

http://babylonjs-playground.com/#A4EC8#1

To-Do

  • grid with water aligned with camera perspective 
  • draw a mesh 2x befor and on the water
  • raymarched watermaterial
Link to comment
Share on other sites

  • 8 months later...
  • 7 months later...

Just messing around this morning.

Thanos Effect aka heatwave
http://www.babylonjs-playground.com/#TZJ0HQ#1
Change Noise Reference to alter effect

RGB Shift Glitch:
http://www.babylonjs-playground.com/#TZJ0HQ#3
Change Noise Reference to alter effect

Posterize:
http://www.babylonjs-playground.com/#TZJ0HQ#5

DawnBringer:
http://www.babylonjs-playground.com/#TZJ0HQ#6

CrossHatch: *Needs a better random Texture
http://www.babylonjs-playground.com/#TZJ0HQ#7
 

Link to comment
Share on other sites

  • 2 months later...

Mmmmkay, I need some help.

I know everyone is familiar with fruit ninjas swipe effect.  
https://github.com/mattdesl/lwjgl-basics/wiki/LibGDX-Finger-Swipe

Anyways, I am trying to do a similar effect but with a SDF for the curve not a geometry shader.
https://www.babylonjs-playground.com/#8YHIQK#1 

What I need to figure out is how to animate it now and make it "Swoop" along the established points.
I also need to get it not using gl_FragCoord and use the vUV, but for some reason am struggling on that math (which is dumb).
https://www.babylonjs-playground.com/#8YHIQK#5
On this version you can click and drag to make a new Swoop but they are scaled way down cause of my coordinate space error right now.

CHALLENGE ON!
Essentially need to be able to animate the curves along their path and have it "simulate" the input we are giving the scene.
@NasimiAsl, @Nabroski

Link to comment
Share on other sites

@NasimiAsl @Pryme8

i should slowly wrap my head into Physics. As i understand vertex displacement applied on the GPU would need a conversation to CPU first before working with BabylonJS Physics lib. Or did you know some cool workarounds ? The idea is that the sphere would "swim" in the water : http://www.babylonjs-playground.com/#UVCI3B#3

Link to comment
Share on other sites

2 minutes ago, Pryme8 said:

Not really no not off the top of my head at least,  I would honestly try to fake it.

Hey Pryme
first thank you for taking time

i fact i never used Babylonjs physics. Yes, but the new positions are not visible for the BabylonJS Physics lib,  it is still a simpel Plane on the CPU side. Right ? 



 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...