Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

any help to get this to webgl? threejs #2

Open
arpu opened this issue Jun 6, 2020 · 10 comments
Open

any help to get this to webgl? threejs #2

arpu opened this issue Jun 6, 2020 · 10 comments

Comments

@arpu
Copy link

arpu commented Jun 6, 2020

is it possible to use this shaders with webgl 2.0 and threejs ?

@tuxalin
Copy link
Owner

tuxalin commented Jun 7, 2020

Yes, it should be possible to port it w/o too much work. I can try to setup a threejs demo with it.

@arpu
Copy link
Author

arpu commented Jun 7, 2020

this would be awesome!

@arpu
Copy link
Author

arpu commented Feb 2, 2021

@tuxalin any news on this :> ?

@tuxalin
Copy link
Owner

tuxalin commented Feb 3, 2021

Sadly I didn't had much free time in the past months, but I do plan to port it one day.

@arpu
Copy link
Author

arpu commented Feb 3, 2021

testing some Foam water with THREE if this helps https://codesandbox.io/s/hungry-nash-zr8h7?file=/src/index.js

@tuxalin
Copy link
Owner

tuxalin commented Feb 4, 2021

Thanks! That's actually quite helpful, will use it.

@nhasdarjian
Copy link

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 :)

@tuxalin
Copy link
Owner

tuxalin commented Feb 13, 2023

@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.

@arpu
Copy link
Author

arpu commented Mar 20, 2023

this is awesome! any plans to push it to a branch?

@tuxalin
Copy link
Owner

tuxalin commented Mar 30, 2023

Sure, will do that. Wanted to get it to work first on threejs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants