how can I drive a material attribute with a pose driver?

Hi! My goal is to have a material attribute driven by a pose driver. When the shoulder rotates forward I’d like a normal map with some muscle flex detail fire as well.

I have a pose driver that’s driving joints and a morph target on my characters shoulder/chest area.

I also have a material with 2 different normal maps… one with some muscle flex detail and one with out. I’m blending between the two with a lerp using the 0-1 alpha value.

How can I drive that lerps alpha value with the pose driver? TIA!

I figured it out! make sure on your skeletal mesh that you set the post process animation blueprint to the animation blueprint with your pose drivers in it.

Create a duplicate pose driver that is set to drive curves

  1. In your animation blueprint with your pose driver that is driving your skeleton. Duplicate that pose driver node.
  2. On the duplicated pose driver set the tag to something unique so it’s not the same as the original.
  3. On the duplicated pose drive set the Drive Output to Drive Curves.
  4. Make sure the new duplicated pose driver is in the animation pose chain by connecting the output of your input pose or anim sequence to the input of the duplicated pose driver and the output to the original pose driver.

Create a material parameter collection to drive your material

  1. Right click in your content browser and go Material>Material Parameter Collection.
  2. Name that node.
  3. Double click that node and add a scalar param and name it. Save it.
  4. In your material create a collection parameter node.
  5. Select that node and in the details panel choose the choose the collection node and the parameter.
  6. Connect the output of that node to the input of your material you want to drive.

Back in your animation blueprint with the pose drivers

  1. Go to the event graph in your animation blueprint
  2. create a set scalar parameter node and connect the execution pin to the Event Blueprint Update Animation node
  3. set the collection of the set scalar parameter node to the material parameter collection you made earlier
  4. set the parameter name to the one you created
  5. Create a Get Curve Value node and type in the EXACT pose name from your pose driver node that is driving curves.
  6. Connect the return value from the Get Curve Value node to the parameter value on the Set Scalar Parameter node.