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

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!
主站蜘蛛池模板: 聊城市| 南安市| 平安县| 万安县| 宽甸| 廉江市| 邳州市| 惠东县| 富锦市| 渑池县| 织金县| 乌兰察布市| 循化| 双城市| 博湖县| 东丰县| 安徽省| 昌吉市| 凤翔县| 海淀区| 集贤县| 霍州市| 磴口县| 万全县| 斗六市| 壶关县| 沿河| 体育| 綦江县| 武宣县| 缙云县| 石屏县| 天津市| 伊宁市| 淅川县| 仲巴县| 星子县| 格尔木市| 措美县| 绥中县| 甘谷县|