Shader: Sin wave trail 波形擺動拖尾效果
大家好! 今天跟大家分享先前製作的效果Ghost Trail 波形擺動拖尾效果。 Hi, everyone. I`m glad to share the breakdown of the Ghost Trail Effect. 在這此效果中僅使用了一組粒子系統搭配其中的Trail組件及模型粒子來實現,而如何透過一組Trail面板來實現看似三條拖尾的擺動效果,正是此Shader表現的重點。 It was done with just a particle system, and it is particle mesh render within trail component. The issue of the effect is how to create three different swing trail on a single plane. Shader是使用Amplify Shader Editor1.5.8 製作亦可使用內建Shader graph實現,先看一下整個Shader樹狀圖。 The shader is made by Amplify shader editor 1.5.8. It also could do it with shader graph in Unity. 大圖Full Size 貼圖使用Substance Designer 2018 Texture made by Substance designer 2018 R: 拖尾紋理1 / for trail 1. G: 拖尾紋理2 / for trail 2. B: 拖尾擾動 / the noise of distortion. A: 消散雜訊紋理 / the noise for dissolve. 大圖Full Size Shader的製作 Breakdown of shader 1.基礎Shader屬性設定 Setting property 2.Shader大圖中Sin01的區塊為擺動UV的產生,Sin02及03僅是重複01計算後,改變其波長頻率時間等來製作三種不同擺幅 。 The Sin01 block is working for the motion of V coo...