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

Time for action - modifying the avatar's pants

We are now going to change out the lower, or pants, on the male character:

  1. With the male character selected, click on the Lower Body button under the Actor tab.
  2. Select the Diffuse channel.
  3. Load the Tartan diffuse map located in the Code Bundle of the book page on the Packt Publishing website.
  4. Set the tiles to 6 and 6.

We now have a leisurely attired male character. So let's do something for the female next:

  1. Click on or select the female character. Click on the Lower Body button under the Actor tab.
  2. Select the Diffuse channel.
  3. Click on the Launch button to load the image into your editor.
  4. Cover the bottom two-thirds of the image in black.
  5. Cover the upper one-third of the image in white.
  6. Save the image as male_lower_opacity, as shown on the right side of the following image:
    Time for action - modifying the avatar's pants
  7. Double-click on the lower Opacity channel and browse to the newly created opacity map (male_lower_opacity) and load it.

What just happened?

We changed the texture on the male and created shorts for the female. The female jeans had no opacity map so we launched the diffuse map to save as an opacity map, and to use it as a guide to how long or short we will cut off the pants. Remember, black hides and white shows. We are using the black to cut off some of the pant's leg to create shorts out of the pants, as shown in the following image:

What just happened?

Now our characters look more like they are relaxing at a home cookout with casual clothes.

Note

Working with perfect RGB black 0,0,0 or perfect RGB white 255,255,255 will eliminate artifacts. Use a gray opacity color for semi-transparent clothing.

主站蜘蛛池模板: 甘南县| 白城市| 塔河县| 连城县| 宜良县| 高尔夫| 昌邑市| 云和县| 渝中区| 专栏| 禄丰县| 汕尾市| 和平区| 绥江县| 铁力市| 德昌县| 广汉市| 鄂温| 高邮市| 沽源县| 贵德县| 分宜县| 福鼎市| 谷城县| 辽宁省| 库车县| 赞皇县| 法库县| 迁西县| 张家川| 望都县| 怀来县| 揭东县| 洱源县| 浦县| 南平市| 莆田市| 樟树市| 永修县| 彰武县| 丰县|