官术网_书友最值得收藏!

Getting ready

We've included a small scene that you can use as a starting point for this recipe – its name is 03_01_ComplexShader_Start, and it includes all of the basic assets that you will need to follow along. As you'll be able to see for yourself, there's a small toy tank that has two UV channels in the center of the level. The first of those channels is the one that Unreal uses by default to understand how it needs to place the textures that we feed to the material the model is using, while the second one is used to generate the lightmaps.

As always, feel free to use your own 3D models and populate your scenes however you like. Something to take into consideration is the need to have well-laid-out UVs, as we are going to be masking certain areas of our models to drive the look of our materials. Make sure that your custom assets follow that rule, as we'll need that to be true for this recipe to work:

Something that you might want to change now is the camera clipping plane. Unreal's default camera settings aren't really suitable for working with small objects. Head over to the  Project Settings  |  Engine  |  General Settings  |  Settings  section and set the value of the  Near Clip Plane  to something like 1 and remember to restart the editor!
主站蜘蛛池模板: 句容市| 镇远县| 于都县| 渝北区| 舒城县| 西昌市| 万载县| 通江县| 旅游| 宁都县| 黎平县| 黄梅县| 峨山| 溧水县| 班戈县| 岐山县| 鄂伦春自治旗| 伊金霍洛旗| 苏尼特左旗| 高青县| 甘泉县| 恩平市| 上蔡县| 洞口县| 齐河县| 长兴县| 类乌齐县| 枣阳市| 海安县| 渝中区| 汶上县| 泰来县| 辽中县| 渝北区| 报价| 呈贡县| 安义县| 松江区| 黄平县| 清河县| 东乌|