这里主要记一下使用cage的方式
原理
看起来是从cage发射射线,打中高模了就把对应uv那个地方的rgb改成打中的点的normal的rgb
正事
那么首先需要一个高模 主要是几何要丰富 无所谓UV
然后一个低模,既然上面提到UV,那低模就要展UV,
展完之后,OK开始
给他创建一个材质球,进入shader editor
然后创建一个image texture, name给normal,色彩空间选nonColor,然后在vector里新建一个normalMap,然后texture连normal map, normal map连到BSDF的normal
shader就准备好了
物体高模和低模都shade smooth一下
然后是进入渲染设置,cycle,然后改bake的设置,bake type改为normal,勾选selected to active
勾选cage 然后就需要一个cage了,这个cage从低模复制,然后scale到能包住高模的样子
注意!!!只需要创建他,不需要做别的,创建了就有默认关联
接下来选high 然后ctrl 选low 然后就点bake就完了