Skip to content

Adjusting and Creating Asset Properties

Flow asset manager is using the special properties system, strictly connected to Blender drivers system. You can add the properties to your assets, so they are easily customizable as the instances, without the need of editing them directly. You can also place the various versions of one assets in various scenes.

Important! Only local instances may have the properties tweaked. If you have the linked instance, you must first make it local to use the properties. However you can change your objects color if one of the material is using 'Object Info' node with the 'Color' Output

Creating custom properties - Material Node Groups

Material Node Groups, which name starts with FLOW_ prefix will now appear in the Flow Panel as the properties. This is very easy and useful way to tweak the materials from the panel-level. This method will also work for the instances, so they won't need to be edited each time to tweak materials.

To create the property node group with Flow, simply go to the Shader Editor, select the nodes that you want to convert into group and press CTRL+ALT+G. Enter the name (or select Use Material Name) and press OK to create the group. The node group created with this shortcut will automatically use the FLOW_ prefix, so it will appear in the main 3d viewport panel. You can also convert just any node group, only by adding FLOW_ prefix to it's name. You can any settings tweakable, all node group inputs will appear in the panel, anything what happens inside the node group is up to you and your needs.

Creating custom properties - Drivers

You may also add new properties and connect them to any sliders in Blender via the drivers. Though using this method is currently not recommended for Materials (better use Property Node Groups mentioned above), but is the only way to connect any other sliders from outside the material settings, like Array settings, Bevel Settings, Shape keys etc. If it's possible (the active object is editable one), you'll se 'Add New Property' button in the Properties subpanel in Flow Addon. While adding the property, you may use one of the three property types - Number (Float) property, RGB Color Property, RGBA Color Property.

Props_02

Adding number (float) properties

Set the desired values in the popup window. The value and limits are quite individual and will depend on the slider values, that you want to connect your property to. For example, if you are going to tweak some basic sliders of the 'Principled BSDF' shader node eg. Metallic, Roughness, Specular, you should set your property min-max for 0.0-1.0. But if you want to tweak the array number, the min-max should be 1-any limit.

Props_03

Setting the value step (whether you want to use the decimal numbers) is not available from creation popup. You can set it when the property is created. Click on the pencil icon next to the property to edit it, and type the property value's decimal places as desired. If you want your step to be a full number, simply change 1.0 to 1. If you want to use decimal numbers, change the number format to 1.0

Props_05

Adding color properties

Adding the color props is simplier than adding float properties. Simply select RGB / RGBA Color, select the default color and click OK.

Props_04

Connecting properties to the objects

The created properties are not tweaking anything yet, as they are not connected to any other property.

Connecting the number property

To connect the float property, right-click on the property slider in the Flow panel, and select 'Copy as New Driver'. Go to the desired property that you want to be driven (eg. to some shader node), right-click on the destination slider and select 'Paste Driver' option from the menu. As you can see, you cannot tweak the driven slider directly, it's value can be now changed only by tweaking the property in the panel.

Props_06

Props_07

Connecting the color property

Due to the Blender limitations, connecting the color property is a little bit more complicated, as you need to repeat the above actions three / four times.

  1. Click on the color property to open the RGB circle. Select RGB, to see it's R, G and B values below
  2. Right-click on the R value, and select 'Copy as New Driver' Props_08

  3. Go to the color that you want to be driven. Click on it, and also select RGB. Right-click on R value, and select 'Paste Driver' from the menu. Props_09

  4. Repeat the actions with the G and B values (also with A if you are using RGBA) <- Very important!

  5. When completed, the color in the properties subpanel should be the same as the destination color.

Using the 'Object info' Node as a color property

You can substitute the above method by using the 'Object info' node in the shaders editor. Simply add the 'Object info' node and connect it's Color output to any color socket you want. The Base Color property will appear automatically in the panel. Props_10

Pros and cons of using 'Object info' nodes:

  • This method is recommended only when you want to tweak one base color in the materials node
  • When you place the asset as the instance collection, you may set different base colors for different instances, without making them single-users. This couldn't be achieved by using custom color property.
  • If multiple objects in the instance collection are using 'Object info > Color', all of them will receive THE SAME value. So it's not possible to tweak two colors in one instance with 'Object info' nodes.