You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made a quick sandbox using r3f with shader-park. Not sure of the performance of using it like this but it works. If anyone knows any better ways please reply. Thanks 🙏🏼
Hey this is great! Thanks for sharing this. To speed up the performance in the shader park code you'll want to use setStepSize() and try and get it as close to .999 without changing the look of your piece. You'll also want to use setMaxIterations() and try to set it as close to 1 as possible. This will dramatically improve the performance. https://codesandbox.io/s/shader-park-r3f-forked-wpxn7f
I worked on making a DRI plugin, but it's not finished yet. My approach was to extend the ShaderMaterial, and make a ShaderParkMaterial, so you can just wrap any geometry around it in the HTML like this:
I made a quick sandbox using r3f with shader-park. Not sure of the performance of using it like this but it works. If anyone knows any better ways please reply. Thanks 🙏🏼
Code Sandbox
The text was updated successfully, but these errors were encountered: