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

Drive one exposed parameter with another

New Here ,
Oct 12, 2022 Oct 12, 2022

Copy link to clipboard

Copied

Hello, I have two light nodes in my substance file that I am adding together with a blend node. I'd like their horizontal angles to be opposite, and be controlled with one horizontal angle control. So, Light A's horizontal angle is facing the front of the model, and Light B's angle is facing the back. Essentially, Light A would control the horizontal angle of both Light A and Light B, while maintaining the opposite positions. 

Michael265640113tsz_0-1665600394127.png
Is there a way to do this through functions? 

Thanks for the help

 

TOPICS
General , How to , Scripting , Substance Graph

Views

46

Likes

Translate

Translate

Report

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 1 Correct answer

Community Expert , Oct 13, 2022 Oct 13, 2022

You could do this :

Add two inputs to the Light node. Name the first #H_Value and second #Offset

Control the Horizontal angle with a function that adds those inputs:

2022-10-13_15-52-21.jpg

 

Add to input value nodes - the first for horizontal angle and the second for offset. Connect just the Horizontal Angle value to the first Light node and both values to the second Lighht node. You now have control over horizontal angle and the offset between the two lights (0.5 offset = 180 degrees)

2022-10-13_15-56-25.jpg

 

Dave

Likes

Translate

Translate
Community Expert ,
Oct 13, 2022 Oct 13, 2022

Copy link to clipboard

Copied

You could do this :

Add two inputs to the Light node. Name the first #H_Value and second #Offset

Control the Horizontal angle with a function that adds those inputs:

2022-10-13_15-52-21.jpg

 

Add to input value nodes - the first for horizontal angle and the second for offset. Connect just the Horizontal Angle value to the first Light node and both values to the second Lighht node. You now have control over horizontal angle and the offset between the two lights (0.5 offset = 180 degrees)

2022-10-13_15-56-25.jpg

 

Dave

Likes

Translate

Translate

Report

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
New Here ,
Oct 31, 2022 Oct 31, 2022

Copy link to clipboard

Copied

LATEST

This is wonderful, thank you for the informative response!

Likes

Translate

Translate

Report

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