unity3d - Animate scale of an object in the new shader graph system in Unity
问题描述
I am trying to learn about the new Shader-graph tool in Unity, and want to replace some of my C# coded animations to a shader animations.
But I can't figure out which nodes I need to use. I am trying to create a scale animation which scales the object between 2 values (90% of it's original size, and 110% of it's original size).
I have found This tutorial that shoes how to scale the object, but it lacks some of the things I need. I have added a Remap node to remap to sin of time to be between 0.9 and 1.1 but I can't find any way to set the animation speed.
How can I implement this kind of animation, if even possible, in shader graph?
What am I missing?
解决方案
推荐阅读
- reactjs - 如何在单击按钮时更改字体大小?
- android - 保存到 SD 卡时无法离线播放下载的 Amazon Prime 视频
- reactjs - 你如何在 React JS 中重置加载栏?
- javascript - Javascript 添加多个 if - window.location.hostname
- excel - 从许多来源批量复制 Excel 工作表
- android - 尝试显示位图时应用程序崩溃
- git - Gitlab 可以用作无头 CMS 吗?
- file - 异步任务可以写入内部存储android吗?
- xml - 选择包含额外属性的特定元素
- javascript - 成员的类继承