unity3d 怎么做出这样的金属效果

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了unity3d 怎么做出这样的金属效果相关的知识,希望对你有一定的参考价值。

参考技术A 这个是带反射的效果
方法1、使用reflection probe进行真实反射
方法2、使用Legacy shader中的Reflecive下的shader并且赋予材质,假反射

Android只有一张按钮图,怎么做出选中与非选中效果?

1.定义一个selector:

在drawaber目录下,新建selector文件:

selector_text_template.xml:

<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:drawable="@drawable/ic_zf_wz_template" android:state_selected="true" />
    <item android:drawable="@drawable/ic_editor_text_template_no_select" android:state_selected="false" />
</selector>

ic_editor_text_template_no_select.xml:
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
    android:antialias="true"
    android:src="@drawable/ic_zf_wz_template"
    android:tint="@color/com_color_white_40">

</bitmap>
ic_zf_wz_template是图片。

选中和非选中

选中:原图:

 

以上是关于unity3d 怎么做出这样的金属效果的主要内容,如果未能解决你的问题,请参考以下文章

unity3d shader缔造金属各向异性效果

unity3d 这种效果怎么弄?

如何在unity3d中实现动态环境光的效果

unity3d怎么把模型里面的素材拼接到别的游戏

关于unity3D发光的问题,想做一个灯塔灯光那样的发光效果。

在unity3d里怎样隐藏物体?