首先要将插件导入到unity里面,插件会导入到Unitypackges里面
裁剪碰撞器
创建一个带有体积的盒子,将mesh render去掉,需要加入see through shader zone脚本

要做效果的模型
模型要设置对应的Layer

脚本控制器
脚本控制要设置对应的材质球 用于替换 全局

设定材质球
检查对应的设置,按照需求调节

最终效果

首先要将插件导入到unity里面,插件会导入到Unitypackges里面
创建一个带有体积的盒子,将mesh render去掉,需要加入see through shader zone脚本
模型要设置对应的Layer
脚本控制要设置对应的材质球 用于替换 全局
检查对应的设置,按照需求调节
最终效果
本文标题:unity See-through Shader 裁剪插件使用
本文链接:https://www.haomeiwen.com/subject/tnivfjtx.html
网友评论