Skip to main content
Johannes_RR
Participant
January 26, 2024
Question

Can you modify shader instance parameters from script?

  • January 26, 2024
  • 1 reply
  • 200 views

For my project we use a custom shader with custom shader parameters. 

When not hidden I can modify these parameters via the Shader Settings > Shader Parameters window.

 

Is it possible to read/write these custom shader parameters from the Python or Javascript scripting APIs? Looking through the Substance 3D Painter API Documentation I've not been able to find any example of this.

 

However I've noticed that the API is very much out of date and incomplete, so I could be missing something.

1 reply

Participant
April 2, 2025

I'm also looking for a method to do this and am having quite a bit of trouble. All I'm looking to do is enable alpha blending via a python script. I'm curious to hear if you ever figured out a solution to this problem.