先放一个效果图
参数为:
Shader代码:
Shader "Custom/UnderWater" {
Properties {
_MainTex ("基础贴图 (RGB)", 2D) = "white" {}
_FlushTex ("水波贴图 (RGB)", 2D) = "white" {}
_FlowColor("水波颜色", Color) = (1,1,1,1)
_FlowSpeed("扫光速度", Range(0,1)) = 0.01
_TexSpeedX(