Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Public parameters in functions (Pixel Processor) for Substance Painter.

Community Beginner ,
Apr 12, 2022 Apr 12, 2022

Hello!
I'm new to using Substance Designer, unfortunately I'm stumped.
I made a node tree:

Andy24009154wik9_0-1649771245113.png

I built a node called "Pixel Processor" like this:

Andy24009154wik9_3-1649771759982.png

In Substance Painter, I need to change the "Float" value in this tree (red color).

How can I make this number "FLOAT" a parameter available in Substance Painter?
If this problem requires rebuilding the tree, then how do I change it?

For surface nodes (not in functions) I can click on "Edit exposed graph input", but there is no such thing in the function editor 😞

Andy24009154wik9_2-1649771616456.png

TOPICS
How to , MDL Graph , Substance Graph , Substance Model Graph
1.5K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

Community Expert , Apr 12, 2022 Apr 12, 2022

Click on a blank area of the main Substance  graph so that the properties panel has the Substance graph properties.

Scroll down to input parameters and click on the + sign to add a new parameter.

Change the label and identifier to something that makes sense (for this I'll call it control)

Keep the type as float.

Set the default value to 42 (to match your function graph)

Set minimum and maximum values as you require

Set step to whatever minimum value you want between each step

davescm_0-1649794007089.png

 

Now go into the

...
Translate
Community Expert , Apr 13, 2022 Apr 13, 2022
Translate
Community Expert ,
Apr 12, 2022 Apr 12, 2022

Click on a blank area of the main Substance  graph so that the properties panel has the Substance graph properties.

Scroll down to input parameters and click on the + sign to add a new parameter.

Change the label and identifier to something that makes sense (for this I'll call it control)

Keep the type as float.

Set the default value to 42 (to match your function graph)

Set minimum and maximum values as you require

Set step to whatever minimum value you want between each step

davescm_0-1649794007089.png

 

Now go into the pixel processor function graph that you built and delete the Float node.

Replace it with Get Float

In properties select the name of the parameter you just built (in my case control)

That is it, you are ready to republish your graph as sbsar to use in Painter

 

Dave

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 12, 2022 Apr 12, 2022

Thanks a lot! Everything is working!)
I wonder if it's possible to implement the "Blend Mode" selection in the Blend node in the same way?

Are there tutorials or guides where people create different types of custom settings for editing procedural textures from Substance Designer in Substance Painter?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 13, 2022 Apr 13, 2022

Blend mode cannot be exposed in parameters. However, you can get around that by using multiple blend nodes each set to a different blend mode and then using a multi-switch node to switch between them. That multi-switch node can be switched with an exposed parameter.

 

I'm replying from a phone at present but will add a link to the documentation and tutorials when I get to my office.

Dave

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 13, 2022 Apr 13, 2022

I will be very grateful!

Thanks again!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 13, 2022 Apr 13, 2022
LATEST
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines