playMaker

Author Topic: Animating individual shader graph material float value (SOLVED)  (Read 466 times)

Stain Corb

  • Junior Playmaker
  • **
  • Posts: 69
Hi all.

I am trying to animate the float of a material I created in Shader Graph. but I need it to work on each individual object and not the global material I created.

I have constant prefabs that are activating at random, and after some time the material is suposed to change "On each individual prefab" but every single object changes at the same time globally.

Did not have this issue before.

How can I fix this issue

« Last Edit: April 16, 2022, 07:48:29 PM by Stain Corb »

Stain Corb

  • Junior Playmaker
  • **
  • Posts: 69
Re: Animating individual shader graph material float value (SOLVED)
« Reply #1 on: April 16, 2022, 07:50:43 PM »
Solution = I did not realize I needed to create a new material per object.

PAST = Reason why it used to work before is that I would use create object instead of activete & Deactivate, so creating new object will also create an instance of the material. (Did not know this)