Skip to main content
Participant
March 22, 2022
Question

Value processor as another attribute input

  • March 22, 2022
  • 1 reply
  • 431 views

Hi all,

I have a value processor that calculates a float number for me, and I would like this value to be the input of an exposed attribute.

How could do this? 

 

Thank you.

This topic has been closed for replies.

1 reply

davescm
Community Expert
Community Expert
March 22, 2022

Go to the node with the exposed parameter and in 'Input value's click the '+' symbol. This will give an input value to the node that you can plug the output of the Value Processor into.

Now go to the currently exposed parameter and change it to "Use input Value"

 

See example below of the Value Processor controlling the opacity of a Blend node

 

Dave

 

Participant
March 23, 2022

Hi Dave, 

 

Thank you for your response but what I actually want to do is to use this value as input of another "global exposed attribute", like when you expose the roughness amont of a material.

 

The final intention is to be able to read this value from an external software like Unity.

 

Best,

davescm
Community Expert
Community Expert
March 23, 2022

I don't think you can have a parameter both exposed and driven by the value processor at the same time. So you could drive it by the processor, using the method shown, until you are ready to publish and have it driven externally. At that point expose the parameter instead.