![![[Pasted image 20240420170040.png]]](https://1000bd.com/contentImg/2024/04/24/d4589b661107a2fb.png)
![![[Pasted image 20240420170106.png]]](https://1000bd.com/contentImg/2024/04/24/441403ebe43b4f9c.png)
打开材质里的衣服,发现只有一个衣服文件
![![[Pasted image 20240420170134.png]]](https://1000bd.com/contentImg/2024/04/24/eab97f96e316e022.png)
但是在MME展开,却有很多文件
其实都是通用的
只要有一个衣服材质在,拖过来都可以用
使用PS将衣服文件打开
![![[Pasted image 20240420170343.png]]](https://1000bd.com/contentImg/2024/04/24/f7eb0058dd940709.png)
![![[Pasted image 20240420170406.png]]](https://1000bd.com/contentImg/2024/04/24/546ca91b47c02dd0.png)
点击滤镜,3D,生成法线图
![![[Pasted image 20240420170544.png]]](https://1000bd.com/contentImg/2024/04/24/4c1882d251317f6c.png)
![![[Pasted image 20240420170612.png]]](https://1000bd.com/contentImg/2024/04/24/4c28942ba2fd635a.png)
快速导出为PNG
文件名一定不要用中文,否则会报错
在ray文件夹里,找到材质
![![[Pasted image 20240420170828.png]]](https://1000bd.com/contentImg/2024/04/24/db506f44eb29add1.png)
将fx和sub两个文件复制到Texture里
![![[Pasted image 20240420170913.png]]](https://1000bd.com/contentImg/2024/04/24/168bfff288953eb5.png)
![![[Pasted image 20240420171045.png]]](https://1000bd.com/contentImg/2024/04/24/f9b7157fb3e98e38.png)
把material的文件修改成相应的名字,好区分
修改参数
打开fx文件
![![[Pasted image 20240420171232.png]]](https://1000bd.com/contentImg/2024/04/24/dae71fd4101b795f.png)
找到NORMAL MAP FROM 将0改为1,并将文件名改为cloth.png
![![[Pasted image 20240420171337.png]]](https://1000bd.com/contentImg/2024/04/24/50c7380db04a4e7f.png)
![![[Pasted image 20240420171443.png]]](https://1000bd.com/contentImg/2024/04/24/8945a1a9451cbb57.png)
打开MME,选择衣服
![![[Pasted image 20240420171540.png]]](https://1000bd.com/contentImg/2024/04/24/9f81940a54088af0.png)
选中刚才修改的cloth.fx文件
发现有了变化,但是不明显
![![[Pasted image 20240420171740.png]]](https://1000bd.com/contentImg/2024/04/24/f1962e1956cb3256.png)
如果把normalMapScale改成10
![[Pasted image 20240420171828.png]]
发现衣服已经有很明显的凹槽了
![![[Pasted image 20240420171914.png]]](https://1000bd.com/contentImg/2024/04/24/b8456e90c9b449c2.png)
想要更平滑,将TYPE改为1
![[Pasted image 20240420171958.png]]
衣服变得更滑
如果改为10
![![[Pasted image 20240420172130.png]]](https://1000bd.com/contentImg/2024/04/24/fdf95235f58f49ec.png)
胳臂处颗粒感比较明显
![![[Pasted image 20240420172222.png]]](https://1000bd.com/contentImg/2024/04/24/8d1b607470c9efea.png)
将法线程度改为5
![![[Pasted image 20240420172259.png]]](https://1000bd.com/contentImg/2024/04/24/a49a6ad5836a3d8b.png)
调成1
![![[Pasted image 20240420172329.png]]](https://1000bd.com/contentImg/2024/04/24/64c60b45154e11fc.png)
发现完全变得光滑
![![[Pasted image 20240420200452.png]]](https://1000bd.com/contentImg/2024/04/24/e3d9448aabec1c98.png)
导入一个场景
完成基础操作
![![[Pasted image 20240420201345.png]]](https://1000bd.com/contentImg/2024/04/24/9b2c5b4643abf85d.png)
比如要修改座椅的材质
![![[Pasted image 20240420202528.png]]](https://1000bd.com/contentImg/2024/04/24/a4f4c81b6c7291a2.png)
用PS将7.jpg导出法线图
将材质的两个文件复制过来,修改名字
![![[Pasted image 20240420202633.png]]](https://1000bd.com/contentImg/2024/04/24/4c3c8dd18d1eaeab.png)
![![[Pasted image 20240420202806.png]]](https://1000bd.com/contentImg/2024/04/24/32a6d40f7bfb657e.png)
将名字改为文件的名字
也可以修改
主要只需要调normal_map
normalmap scale
smoothness
就这三个