[簡介]
上次使用過3D模型可以透過Bake tool產生烘培檔(.pcache),這次要試用的2D的image進行製作VFX,並進行噴發動畫。
[目的]
可以快速轉換2D image變成VFX特效。
1.點選想轉換的2D image,在Inspector->Advanced,勾選Read/Write Enabled,勾選後2D image的圖文資訊就會被寫入了,就可以被拿來做Point Cache Bake tool使用。

2.在Point Cache Bake tool,將Bake Mode選擇Texture,按下Save to pCatch file.

3.新增Set position from Map,從Attribute Map拉出Point Cache,將烘培好的圖放入。

4.Quad Output的參數設定,可以將main Texture換成不同的,再將Color/Alpha over Life的Gradient顏色調整。

5.Update加入Force block,在X,Y,Drag拉出口Periodic Total Time,將Period=10,Range=(4,-4),效果如下。


[小結]
2D圖形也可以使用形狀快速建立粒子,透過向量繪圖軟體,可以將想法比較容易快速繪製,再透過調整不同的軸向,也是可以做出蠻多變化的。