Pryme8 Posted January 6, 2017 Author Share Posted January 6, 2017 @Nabroski any idea on how to debug the bug with my water shader? Basically it won't move with the mesh, it stays at origin no matter where the mesh is. Quote Link to comment Share on other sites More sharing options...
Nabroski Posted January 9, 2017 Share Posted January 9, 2017 @Pryme8 its been i while i hope you solve it. viewDirectionW, lightposition etc. i know this could be very tricky. i also stuck somethings for ages. try to minimize, if you get a simple reflection i think you hit the right way. Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted January 9, 2017 Author Share Posted January 9, 2017 Ok cool so it's prolly my vert not my frag shader? Quote Link to comment Share on other sites More sharing options...
Nabroski Posted February 1, 2017 Share Posted February 1, 2017 @Pryme8 Man your Shader Node -Editor looks so great! i feel like i start working on it in a few days. Unfortunately the reality looks different. How things flowing, did you solve your issue with water ? Hope you doing well. Keep it coming. YAY Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted February 2, 2017 Author Share Posted February 2, 2017 @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! Nabroski 1 Quote Link to comment Share on other sites More sharing options...
Nabroski Posted February 2, 2017 Share Posted February 2, 2017 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 Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted October 5, 2017 Author Share Posted October 5, 2017 Kinda digging this up outta the past... but yeah. Anybody have an idea what ShaderToys iResolution's equivalent would be? Is that the same as engine.aspectRatio if I have a single plane covering the whole camera? Nevermind I found it. Its the viewports size. GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted May 23, 2018 Author Share Posted May 23, 2018 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 NasimiAsl 1 Quote Link to comment Share on other sites More sharing options...
Guest Posted May 23, 2018 Share Posted May 23, 2018 Cool I will list these examples in the doc Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted August 2, 2018 Author Share Posted August 2, 2018 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 Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted August 2, 2018 Author Share Posted August 2, 2018 https://www.babylonjs-playground.com/#8YHIQK#9 Just need to animate it now. *UPDATE* https://www.babylonjs-playground.com/#8YHIQK#12 Not what I am looking for, but at least its progress. https://www.babylonjs-playground.com/#8YHIQK#16 With "Power" showing. Nabroski 1 Quote Link to comment Share on other sites More sharing options...
Nabroski Posted August 2, 2018 Share Posted August 2, 2018 your fruit ninjas swipe effect looks so nice, i would just badly fail. challenge not accepted (just messing around nevermind me http://www.babylonjs-playground.com/#UVCI3B#1 ) Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted August 2, 2018 Share Posted August 2, 2018 sleep time Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted August 2, 2018 Author Share Posted August 2, 2018 If I can figure out how to make it trail off I think ill have it. Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted August 2, 2018 Share Posted August 2, 2018 i don't understand exact challenge yet i am a bit stupid sometime Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted August 2, 2018 Share Posted August 2, 2018 i understand it now Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted August 2, 2018 Share Posted August 2, 2018 challenge can wait when i back in morning Pryme8 1 Quote Link to comment Share on other sites More sharing options...
Nabroski Posted August 3, 2018 Share Posted August 3, 2018 http://www.babylonjs-playground.com/#UVCI3B#2 Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted August 3, 2018 Share Posted August 3, 2018 https://www.babylonjs-playground.com/#CSZYEP#21 in progress Quote Link to comment Share on other sites More sharing options...
Nabroski Posted August 6, 2018 Share Posted August 6, 2018 @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 Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted August 6, 2018 Author Share Posted August 6, 2018 Not really no not off the top of my head at least, I would honestly try to fake it. https://experiments.withgoogle.com/webgl-water-simulation Quote Link to comment Share on other sites More sharing options...
Nabroski Posted August 6, 2018 Share Posted August 6, 2018 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 ? Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted August 6, 2018 Author Share Posted August 6, 2018 Id have to dig into it and look. I can get back to you on that (but I assume its a simple plane CPU side) Nabroski 1 Quote Link to comment Share on other sites More sharing options...
Nabroski Posted August 6, 2018 Share Posted August 6, 2018 Yes, i dig myself into trail an error right now, if you have an idea feel free to share. Quote Link to comment Share on other sites More sharing options...
Nabroski Posted August 6, 2018 Share Posted August 6, 2018 @Pryme8 their was an example the BabylonJs dude walking in a terrain. Based on Raypicking. That would work i think. But i can't find the playground anymore ... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.