Community scenes
So I figured out the scene files are just zip files with a couple of thumbs and an XML file. The XML contains some metadata and then a code block which is presumably GLSL/HLSL or similar.
So writing our own scenes or modifying existing ones should be possible. I'd like to convert over some scenes from Shadertoy: https://alastaira.wordpress.com/2015/08/07/unity-shadertoys-a-k-a-converting-glsl-shaders-to-cghlsl/
So my question is - how about a repository where people can upload and share scene files? It could just be a simple forum board.
You can as you say edit these files manually. The problem is that I have for the last few releases broken the format in one way or another. Because of this I can’t ask others to create custom scene that might break in the next release I do. When/if I release the editor then I will have a proper plan for long term support of the scene format.
-
AdminJoakim Dahl (CEO, Plane9) commented
There is no documentation on the format and I don't have any plans to create any at this time since when/if I release the editor it will handle the format for you. Before that time I can't encourage anyone to make custom scenes that might break in odd ways for every release I do.
-
Andy Baker commented
That's really good news. The more I've looked at the XML the more interesting it seems (and the more complicated porting WebGL shaders appears). Any docs you can post on the format - no matter how provisional or rudimentary - would be appreciated.
-
Andy Baker commented
I've dug a bit deeper and it appears you're already using GLSL so that link above isn't relevant. My question then is really "How do you feel making it simpler for users to add their own scenes?" It might be as simple as providing a small amount of documentation about the XML format and any peculiarities regarding your use of shaders.