Register
Log in
Substance Forum
»
Substance Painter
»
Scripting
»
How do I get the shader instance attached to a specific textureset?
« Previous Topic
Next Topic »
Pages: [
1
]
Go Down
Author
Topic: How do I get the shader instance attached to a specific textureset? (Read 356 times)
jellyk
I have a scene with 2 texturesets - each with their own shader instance
I want to get the index of the shader instance assigned to the active texture set
Is this possible?
thanks
on:
February 17, 2020, 07:37:46 pm
Froyok
WWW
We don't store shader instances by indexes, so if you want to do that you will have to index them manually on your side. To retrieve the shader instances and how they are assigned to Texture Sets take a look at
alg.shaders.shaderInstancesToObject()
.
Reply #1 on:
February 19, 2020, 11:04:34 am
Don't forget your
log file
. It can be exported from the
Help
menu of the software.
-----------
Fabrice Piquet aka Froyok. Product Manager, Technical Artist and Documentation at Adobe.
jellyk
sorry for the delay in responding - thanks very much
Reply #2 on:
March 06, 2020, 10:15:56 am
Pages: [
1
]
Go Up
« Previous Topic
Next Topic »
Substance Forum
»
Substance Painter
»
Scripting
»
How do I get the shader instance attached to a specific textureset?