2020
09-28
09-28
unity实现透明水波纹扭曲
本文实例为大家分享了unity实现透明水波纹扭曲的具体代码,供大家参考,具体内容如下需要挂一个摄像机把脚本挂在一个物体上可随意在物体上面点击shader:Shader"Unlit/Water"{Properties{_MainTex("Texture",2D)="white"{}_WaterUV("WaterUV",2D)="while"{}_WaterIntensity("WaterIntensity",float)=500}SubShader{GrabPass{Name"BASE"Tags{"Mode"="Always"}}Tags{"Queue"="Transparent+100""RenderTyp...
继续阅读 >