Skip to main content
Participant
June 13, 2024
Answered

Trying to figure out functions in Substance Designer

  • June 13, 2024
  • 1 reply
  • 416 views

Hopefully I can explain this well enough. 

I have two Tile Sampler nodes, I have exposed "Rotation Random" on one and "Colour Random" on the other. 

I would like to set it up so when I change the rotation random in the exposed parameters, the colour random changes for the second Tile Sampler. 

 

For example, when rotation random is set to 0.01 I want the colour random of the second Tile Sampler to be 0.3... when Rotation is 0.02 I want colour to be 0.5... Rotation 0.03, colour 0.7 etc. etc. 

 

Is this possible? And if so, how do I do it? 

 

Thanks! 

 

This topic has been closed for replies.
Correct answer davescm

These should go with my description above:

 

 

 

Dave

1 reply

davescm
Community Expert
Community Expert
June 13, 2024

Expose the parameter for the first tile sampler (i.e. the rotation random)

Then drive the function for the second tile sampler using a GetFloat to get the same (rotation random) parameter and add any maths to it to form the relationship that you require

Example sbs attached

 

 

Participant
June 14, 2024

I unfortuantly can't open the attatchment, are you able to post some screenshots please? 

 

davescm
Community Expert
davescmCommunity ExpertCorrect answer
Community Expert
June 14, 2024

These should go with my description above:

 

 

 

Dave