Call of Duty 5: Alpha Blending

From COD Modding & Mapping Wiki
Share/Save/Bookmark
Jump to: navigation, search

Nutshell.png Alpha-blending is used in Levels for either doing a smooth transition between two textures on or make water and other _blend texture more transparent

What textures?

Warning.png The first thing to note is that not all textures can be alpha-blended. The texture which can can be found in 2 ways:

  • The texture is under Textures>Usage>Decal

Alpha 1.png

Note: Those textures might not 'blend' as good as the one described below!

  • The texture name ends by _blend
Example:
         peleliu_terrain_asphalt_runway_base_blend

How to: Basic alpha-blend

  • Here we have a terrain Patch made using the plain texture makin_terrain_grass_dark_patchy


Alpha 2.png


  • Select the patch and clone it (press Space bar and re-align the new patch EXACTLY on topp of the original)
  • Select a different Texture that has _blend at the end, i'll use peleliu_foliage_palm_fronds_flat_blend in this example.
  • Now Delesect all by pressing ESC and open the Advanced Patch Editing tool using Y, select the same option as shown below:


Alpha 3.png


Alpha 6.png


Information.png The black line on the patch showing the vertices is obtained by pressing the Show Patch as Wideframes option on the toolbar Alpha 5.png

Now you have two option, either blend or un-blend:

  • Blend: Press and keep holding ALT and use LMB to make the _blend texture appear on top of the plain

or

  • Un-blend: Press and keep holding ALT and use RMB to make the _blend texture dissappear and show the plain
  • Results after a few clicks:

Alpha 4.png

Same, on Water

For the water you can alpha-blend the same way except there is no plain texture, just the water_dynamic in my example below:


Alpha 7.png


Information.png Note that i only alpha-blended the edge of the water leaving the center full color.

Information.png This is the technique to use if the water_dynamic you have is too bright in-game.

How-to: More than 2 layers

If you have more than 2 layers (e.g 1 pain + 2 _blend) then you cannot use the above technique of using the allow soft selection on unselected patched since it would blend the 2 _blend textures.

  • For this one you need to use the 3D-view and RMB on the patches to select the _blend you wish to alpha-blend:


Alpha 8.png

  • now you use the Y Tool as above but with the allow soft selection on unselected patched not selected.


Alpha 9.png