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

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.

主站蜘蛛池模板: 偏关县| 常州市| 特克斯县| 永寿县| 张家港市| 巧家县| 台中县| 洪洞县| 高青县| 阿坝| 靖州| 安岳县| 饶阳县| 富锦市| 富阳市| 中西区| 延津县| 凌源市| 黑河市| 承德市| 军事| 龙井市| 宜都市| 宜章县| 丽水市| 满城县| 汾阳市| 山西省| 喀什市| 宜川县| 长岛县| 沙雅县| 盐源县| 广灵县| 乡宁县| 普安县| 合川市| 堆龙德庆县| 吉首市| 南乐县| 岳阳县|