ShadingLanguageX (SLX) is a high level programming language for MaterialX that makes it easier to express complex shading algorithms. The syntax is similar to GLSL, with MaterialX specific data types and functions, and it compiles to generic `.mtlx` files.
Recently I created a Houdini plugin which makes the language a lot more integrated and easy to use with Houdini. You can find the docs for it here [github.com] and download it from the latest release here [github.com].
1. The SLX Material lop node allows you to reference an SLX shader or write one inline. The node compiles the SLX code to a MaterialX material. You can set the material prim path and assign it to geometry directly on the node, similar to the Material Library node. The compiler detects changes to the SLX and automatically recompiles, giving you seamless code changes to render.
The globals tab allows you to quickly change values in the shader for easier look development and the compile options tab gives you control over how the compiler operates.
2. It comes with six example shaders to get you started learning SLX.
3. You can right click other Material Builder nodes, and a "Convert to SLX Material" option allows you to decompile the MaterialX into an SLX shader.
4. You can build a library of nodes from SLX, which are then available in other Material Builders.
The plugin also works nicely with the VS Code extension, which provides syntax highlighting, code completion+navigation and other features.
Hope people find this useful and looking forward to hearing your feedback!
- Jake

