ShaderEditor
ShaderEditor copied to clipboard
Place to Share Shaders
It would be nice to see other people's shaders somewhere.
Here is a rolling sphere I made on my SGH-T399 this past week or two: https://gist.github.com/309a5df6e9d1c34cfda55292d5d4acc0
Very cool shader!
And yes, sharing shaders across users and devices is something I wanted for a long time. But it's not easy because it would require running a back end and (some) kind of user management. We'd need to transfer not just source code but textures and settings (resolution) as well. Then there would have to be some kind of (shader) browser in the app. And there are incompatibilities between GPU's. What runs on one device can fail on others (for example, your shader does not run on a Nexus 6 because INF = 1.0 / 0.0 does not compile: division by zero).
So yes, I totally want this but I'm afraid it'll take some time.
What about integrating an API like github gists? It might solve the backend and user management problems.
Yes, maybe that'd be an option and a cool one too! Will check.
Gists are a super easy API... don't even need to be signed in to post one, so it's literally one HTTP request. I used them for another project so I could help if you like...
Sounds good! Contributions are always welcome!
I'm on vacation right now and haven't had the time to check this out yet. But it really sounds like it would fit.
Implementing the UI, maybe a browser for the shaders, is possibly the biggest part I guess.