Foreground Shader selection from tsxAPI?

Smart people ~ Great Scripts
Post Reply
User avatar
borgcone
Petty Officer Third Class
Posts: 12
Joined: 06 May 2018, 21:09
Type the number ten into the box: 10

Foreground Shader selection from tsxAPI?

Post by borgcone » 13 Mar 2019, 18:43

In the Model side of tS7.x or tS5/6, how can we switch the mode of "Foreground Effects Shader" (e.g. to "Simple Volumetric") from a plugin?

After I selected the mode by clicking the button, I can get/set the parameter value using tsxScene[GS]etShaderXXXXXX() API functions. But I would like to manipulate the mode from my model-side plugin instead of mouse-click.
borgcone ... or 3DfromNULL at https://biglode.com/ptsxpy

Post Reply