[Help needed] Combing the _2dxFX_Offset and _2dxFX_Liquid effects to one effect LiquidOffset
-
Hello,
I am trying to combine the _2dxFX_Offset and _2dxFX_Liquid to form a new effect. I have successfully combined the effect. But I am having a problem that the effect is very lag with bad performance on mobile devices.
Would anyone help me to fix the performance issue?
I have attached my script and shader in here.
_2dxFX_LiquidOffset.cs: https://gist.github.com/jackykschou/433eecb05a4455d94dfd5be4e2878235
_2dxFX_LiquidOffset.shader: https://gist.github.com/jackykschou/98f056fede0a40b1345ed2560029c26e
Thank you very much.