water-shader
water-shader copied to clipboard
any help to get this to webgl? threejs
is it possible to use this shaders with webgl 2.0 and threejs ?
Yes, it should be possible to port it w/o too much work. I can try to setup a threejs demo with it.
this would be awesome!
@tuxalin any news on this :> ?
Sadly I didn't had much free time in the past months, but I do plan to port it one day.
testing some Foam water with THREE if this helps https://codesandbox.io/s/hungry-nash-zr8h7?file=/src/index.js
Thanks! That's actually quite helpful, will use it.
hey @tuxalin, I'm working on a procedural island generator in Three.js and I stumbled across this project while looking to upgrade my water. I have a system set up to load .glsl files, but I am not sure how to go about converting the SPIR-V .spv files to get the plain .glsl. Is there any chance that you'd be willing to upload the .glsl as plaintext? I'd be glad to share the result with you! Thanks :)
@nhasdarjian I've started working on this, converting to GLSL and adding threejs support, but due to work I didn't had much free time. Yes, I'll provide some GLSL files.
this is awesome! any plans to push it to a branch?
Sure, will do that. Wanted to get it to work first on threejs