Skip to main content
1 of 4
TLousky
  • 16.1k
  • 1
  • 42
  • 73

To do this, you need to use your custom property to drive a value node.

enter image description here

  1. Add a value node ( ShiftA --> Input --> Value ) to your material node tree.
  2. Right click on the number in the input box and add driver.
  3. Open the graph editor window, change the view mode from F-Curve to Drivers, then open the properties panel (N).
  4. Change the driver Type to Scripted Expression.
  5. In the variable's Path box type the name of your custom property delimited by square brackets and double quotes. Example: ["myProp"]
  6. In the Expr (expression) input box, make sure the name of the driver variable (default "var") is present.

That's it. You're value node is now connected to the value of your custom property, and any changes you make to the custom prop will be reflected there.

TLousky
  • 16.1k
  • 1
  • 42
  • 73