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

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.

主站蜘蛛池模板: 兰西县| 清涧县| 秭归县| 西宁市| 丹巴县| 吉水县| 新乐市| 德阳市| 青岛市| 蕉岭县| 台北市| 大兴区| 西城区| 绥滨县| 泽普县| 军事| 富宁县| 彭水| 新蔡县| 平塘县| 化州市| 忻州市| 钟祥市| 巴南区| 和静县| 西和县| 平原县| 定兴县| 乃东县| 华阴市| 祁门县| 吴忠市| 佛坪县| 吕梁市| 枝江市| 平原县| 甘孜| 闽侯县| 建始县| 惠东县| 武功县|