Accessing decal's material's parameters in animation window.
Greetings. I am creating a moving wave on ocean surface via decal that using projector script with displacement material. The wave must rise and fall by adjusting displacement amount. Simply there are no material's properties in animation window when the decal is selected, because it can't handle material in component. The other problem that may occur in the future dealing with material instancing, when several waves will be created at different time, they will share the same amount of Amplitude(amount) property. What is the optimal workaround in this situation? Detailed answer or link is highly appreciated, as my coding skill is optional. Thanks!
Your answer
![](https://koobas.hobune.stream/wayback/20220612173019im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Is there any way to create and load a shader source file at runtime? 1 Answer
Animation using Material Reference[0] property 0 Answers
Hair material problem 0 Answers
Modifying shader requires restarting application 0 Answers
Mesh Renderer won't animate 0 Answers