Skip to main content
Community Expert
January 8, 2025
Open for Voting

Feature Request: Scripting - Node

  • January 8, 2025
  • 4 replies
  • 1138 views

I'm working almost exclusively with the Pixelprocessor and FX-Map Nodes in Designer, because these Nodes are fantastic to create custom tools and effects. But lately I'm touching the limits of both Nodes very frequently. I try to find workaraounds and hacks, which is fun but it brought up the idea of this feature in Designer.

 

The Scripting - Node

 

Let's call it Scripting Processor which actually allows the user to load a script and the Node compiles this into a "Pixelprocessor" or "Shader" like Node.

 

Blender has a similar Node for the Shader Editor (Open Shading Language - Blender 4.3 Manual) which is fantastic, for shaders. In Substance Designer it should have more the behaviour of a Pixelprocessor, but instead of the Substance Function Input (which is unfortunately sometimes very limited, when it comes to complex functions) it could load a scripting file, which allows the user to create very complex nodes.

It doesn't have to OSL it also can be GLSL or even python or lua or any other scripting language, which is easy to learn and open source.

 

Thank you

Stay healthy and creative Marco

4 replies

Inspiring
March 12, 2025

having just had to hack a simple euclidean sorting of pixels which would tame me 1 min in code (ended up having to chain multiple pixel processor nodes together, the only way I could think to persist the output) and messing with sequence nodes in the graph and having to deal with that weird flow backwards to set variables, I'm all in favour of something we can script :).  Not to mention we can then version control it properly.  Any language will do just something we can code properly with.

davescm
Community Expert
Community Expert
January 10, 2025

I like the idea. I've added my vote.

Dave

Community Expert
January 8, 2025

Although Python would be fantastic, I think it would be better to use Open Shader Language or GLSL because these scripting languages are optimized for taks like this and have everythin you need, like Data Types math functions and operators etc.. built-in. Also there are already great playgrounds and sandboxes for GLSL Scripts like Shadertoy BETA so no need for a scripting environment. Stay healthy and creative Marco

Participant
January 8, 2025

This would give so much more flexibility and power to SD . Yes please.  Python would be an amazing fit.