Fortunately, blender has its python API inside. So, you always can open the text editor, put there something like: import bpy # Replace "MyNodeGroupName" with the actual one, and run the script. bpy.data.node_groups["MyNodeGroupName"].inputs.new("NodeSocketInt", "I am an Integer!") then hit , and call it a day. ;-) But ensure that you're in blender ver >= 2.91 (in my 2.76b this crashes the whole thing). Also you can play with other int types like ("NodeSocketIntFactor", "NodeSocketIntPercentage", "NodeSocketIntUnsigned") if you wish.
Ooh, that’s a good tip to keep in mind! I’m going to pin your comment so others can find it useful. I need to get more comfortable with Python and scripting myself.😁
@@dongiovanni1993 Exactly! And chances might be someone else made that button that we can download if it’s something others want too. Just one of the many perks of open source!😁
Thanks so much! Making videos is more work than I wish it was sometimes, but it’s great when others find value in it! And thank you! I’m hoping for the best.😊
Indeed! That would merely be internal workings tho. On the outside the node would still show a value that uses increments of tenths (or hundredths while holding Shift), which would result in nothing happening as you click the little arrows on the sides of the value until the number reaches the amount it’s being rounded by. In which case it would make more sense user-experience-wise to leave it as is. Turning it into a real integer value as seen from the outside is also merely an aesthetic choice but it’s also easy enough to do.😁
I’m hoping it will be that easy soon. But in the version of Blender I am currently using, Integer isn’t one of the options available when creating a new group input. So for now we have to make due with a certain work-around
Yes precisely. If I am correct however, it looks like that screenshot is looking at the inputs of a group in Geometry Nodes. Geometry nodes indeed already supports easily adding an integer input. Not so for Shader Nodes yet tho. But maybe soon!
@@nrdkraft Not sure if it's a 4.2 update, but it's definitely possible to do with shader nodes now. Just grouped a noise texture, put scale into the group input as an example - Group Socket -> Scale -> Type -> Integer. Works like a charm.
@@MikeSierraFox You are right! I believe it is an update that came with 4.2. Also available is Boolean which shows up as a check box! That ought to be really handy for Group nodes!
Fortunately, blender has its python API inside. So, you always can open the text editor, put there something like:
import bpy
# Replace "MyNodeGroupName" with the actual one, and run the script.
bpy.data.node_groups["MyNodeGroupName"].inputs.new("NodeSocketInt", "I am an Integer!")
then hit , and call it a day. ;-) But ensure that you're in blender ver >= 2.91 (in my 2.76b this crashes the whole thing). Also you can play with other int types like ("NodeSocketIntFactor", "NodeSocketIntPercentage", "NodeSocketIntUnsigned") if you wish.
Ooh, that’s a good tip to keep in mind! I’m going to pin your comment so others can find it useful. I need to get more comfortable with Python and scripting myself.😁
@@nrdkraft That's why open software rules. If there is no necessary button to press, we just create it, then press it. :-)
@@dongiovanni1993 Exactly! And chances might be someone else made that button that we can download if it’s something others want too. Just one of the many perks of open source!😁
You can see the effort you put into the tutorials.
I have learned a trick or two again, cool!
Good luck on your youtube journey, its rewarding!
Thanks so much! Making videos is more work than I wish it was sometimes, but it’s great when others find value in it!
And thank you! I’m hoping for the best.😊
Thank you for sharing these videos and also the thought process behind it. Instant subscribed.
My pleasure! And thank you for the sub!!😊
Thank you for sharing this.
@@humbleraider6343 You’re welcome!
Could you use a math node and use the round function not sure if it will work
Indeed! That would merely be internal workings tho. On the outside the node would still show a value that uses increments of tenths (or hundredths while holding Shift), which would result in nothing happening as you click the little arrows on the sides of the value until the number reaches the amount it’s being rounded by. In which case it would make more sense user-experience-wise to leave it as is. Turning it into a real integer value as seen from the outside is also merely an aesthetic choice but it’s also easy enough to do.😁
@@nrdkraft that makes sense
Great tip! Thanks for sharing.
You bet! I’ll be showing how to put a bit more into this node in the livestream tentatively this Friday☺️
@@nrdkraft That's awesome. :D I hope to catch it.
@@ashasekayi I hope you do too!😁
Where have you gone? Are there any plans for future?
Thanks for asking! Actually I’ve just gone and come from the Blender Conference!
@@nrdkraft Great!
Hope I'm able to catch the live stream.
I hope you are too! I’m going to aim for this Friday evening (U.S.)
You can just press N while in your shader nodes and in the panel change the input type to integer right?
I’m hoping it will be that easy soon. But in the version of Blender I am currently using, Integer isn’t one of the options available when creating a new group input. So for now we have to make due with a certain work-around
@@nrdkraft Isn’t this what you’re looking for: i.stack.imgur.com/brfCL.png ?
Yes precisely. If I am correct however, it looks like that screenshot is looking at the inputs of a group in Geometry Nodes. Geometry nodes indeed already supports easily adding an integer input. Not so for Shader Nodes yet tho. But maybe soon!
@@nrdkraft Not sure if it's a 4.2 update, but it's definitely possible to do with shader nodes now. Just grouped a noise texture, put scale into the group input as an example - Group Socket -> Scale -> Type -> Integer. Works like a charm.
@@MikeSierraFox You are right! I believe it is an update that came with 4.2. Also available is Boolean which shows up as a check box! That ought to be really handy for Group nodes!
Man, use the GPU along with the CPU!