4

I use a Mapping Node for modify texture result. But the properties of Mapping Node are fixed. Is possible to add some sockets for Value Node? Then I can change values from somewhere else.

gandalf3
  • 157,169
  • 58
  • 601
  • 1,133
Henry
  • 43
  • 2

1 Answers1

5

Unfortunately this isn't possible without modifying blender's source code. However, in the case of the mapping node, everything it does can be done with regular math nodes.

I've made some nodegroups which re-implement the mapping node accordingly:

enter image description here

Append or link (F1) the "Scale" "Translate" and "Rotate" nodegroups into your .blend, or put them in your startup .blend to keep them at your fingertips at all times ;)

gandalf3
  • 157,169
  • 58
  • 601
  • 1,133
  • one more problem... Rotate Group has initial angles.... – Henry Nov 02 '17 at 08:59
  • @Henry It works for me.. How are you using it? Could you post a screenshot of your node setup? – gandalf3 Nov 02 '17 at 17:58
  • Deg2Rad Node Group is defined in another .blender file. So node tree is broken. Now it works. Thanks again! – Henry Nov 03 '17 at 02:26
  • 1
    @Henry Ah, I forgot to make that group local before uploading.. I've updated the .blend in case anyone else should happen across this. – gandalf3 Nov 03 '17 at 04:12