Skip to main content
Participant
Jun 13, 2024 2:41 PM UTC
Answered

Trying to figure out functions in Substance Designer

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 is closed to new replies. Start a new post to keep the conversation going.
davescm
davescmCorrect answer
Community Expert
Jun 14, 2024 2:36 PM UTC

These should go with my description above:

 

 

 

Dave

6 replies

davescm
Community Expert
Community Expert
Jun 13, 2024 8:15 PM UTC

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

 

 

Translate
Participant
Jun 14, 2024 9:39 AM UTC

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

 

Translate
davescm
Community Expert
davescmCommunity ExpertCorrect answer
Community Expert
Jun 14, 2024 2:36 PM UTC

These should go with my description above:

 

 

 

Dave

Translate