![](https://images0.cnblogs.com/blog2015/272643/201507/212104137568420.png)
1、导入Max模型 摆成10*10阵列
![](https://images0.cnblogs.com/blog2015/272643/201507/212104253181954.png)
2、创建WaveShader,指定给一个新的Material并赋予Plane
![](https://images0.cnblogs.com/blog2015/272643/201507/212104342714419.png)
3.创建RenderTexture > DepthTexture 指定给新建摄像机的TargetTexture
![](https://images0.cnblogs.com/blog2015/272643/201507/212104476785824.png)
4、调整WaveShader的属性 使DepthTexture达到想要的效果
![](https://images0.cnblogs.com/blog2015/272643/201507/212104553966531.png)
5、创建BoxShader,把DepthTexture赋给BoxShader的Depth,使用CustomLighting预览效果
![](https://images0.cnblogs.com/blog2015/272643/201507/212105043653225.png)
6、调整物体组位置,使每个Box顶部顶点在一个平面
![](https://images0.cnblogs.com/blog2015/272643/201507/212105154744532.png)
7、调整UV偏移
![](https://images0.cnblogs.com/blog2015/272643/201507/212105287567507.png)
8、添加颜色控制
![](https://images0.cnblogs.com/blog2015/272643/201507/212105482718677.png)