Edit shaders from Air Code?

Hi Guys,

Is it possible to create a new shader and edit it from the browser in Air Code?

Thanks in advance :slight_smile:

You can do this by using both parameters in the shader() function, shader(vertexShader,fragmentShader).
Both parameters take a string for both parts of the shader, you can update this in air code I think using that as code inside the actual code editor.
Use multiline strings to wrap all the shader code efficiently, it works like this if you did not know already.

[[ multiline
 string here 

@Lonewolff - see this


Thanks for the suggestions, guys! Checking them out now :slight_smile:

Works perfectly!