Doc > Editor > Shader Code Preview Panel

Doc > Editor > Shader Code Preview Panel

The Shader Code Preview allows you to see the shaders creates by the GL nodes.

Polygonjs Shader Code Preview Panel

A very useful feature is that the code editor will highlight the lines generated by any node you have selected. So you can quickly understand which part of the shader is generated by which node.

This really help fully understanding what GLSL code Polygonjs creates. And it works from any material builder:

And it also works with: