I am trying to animate a (tiled) decal to simulate the cracking of a floor.
It looks like the Fade Factor, Size, Tiling and Offset cannot be animated at runtime, is that right?
At the moment nothing updates when I do so.
I am trying to animate a (tiled) decal to simulate the cracking of a floor.
It looks like the Fade Factor, Size, Tiling and Offset cannot be animated at runtime, is that right?
At the moment nothing updates when I do so.
If you’re trying to do it through code, I change the decal.uvScale and fadeFactor in my code at runtime and it works fine.
Probably going to do that but I find it odd that it doesn’t work through the animation. To animate, I’ll have to expose some public variables in the inspector that are directly bound to the projector component, and then animate that…
As stated in this thread HDRP Decal Fade Factor not working from C# script
This issue was resolved by calling Validate() after each update.
In the latest HDRP13, changing via script was fixed but not animator.
This is just pure lazy stuff by the devs. 2 years to fix this and still nothing.