Shade to Codea

Hi,
How do you import shaders made in Shade into Codea? I saved some of the example shaders in the Codea folder. Although they are shown when picking a shader in Codea, it crashes once I run a Craft project with a shader applied to a model. In Shader Lab, the shaders are empty.
Thanks in advance

Hey @dave1707 , Just checking out “Shade” for the first time... Very cool stuff! I was really happy to see your post here, as I have been trying to find a simple example of the “Shade” shaders in action within codea. All I’ve managed to do on my own with codea’s built in demo project “Shaders”, is crash codea a few times. Ok... a lot of times.

However, when testing your code above, I get an error on line 7 ‘add’ (unknown component type)

So unfortunately, I’m still a bit lost... even with your wonderfully simple example. Any advice on what I’m messing up would be awesome.

@Circuit You need to check Cameras as a dependency. If you're unsure how to do that, after you load my code, in the upper right of the screen is a plus sign. Tap on that and you'll see a list of programs. Scroll down until you find Cameras. Tap on that to check it. My code should run OK. Any code for Craft will probably need some of the programs checked.

@Simeon@John - noticed a funny with the group nodes in the rain demo. As expected selecting a group node by touching you can drag that node leaving the rest fixed. Seemed to work fine, but found with the large node at the left, when selected, the little node above it moved as well - but it left the internal nodes of the small group node fixed. Hadn't changed anything else in the shader.