What tool to use for live editing shaders?

Hi all,

Using the Firefox shader editor to edit a shader in a three.js scene will cause the material to vanish from the scene, but is not accompanied by an error.

What is it about three.js prevents live editing of shaders?

Is there another tool I can use that will work?


I assume you are talking about MaterialShader. You can change the vertex and fragment texts (from any source like an editable text panel) and make material.needsUpdate = true;, the shader will be recompiled.