Call of Duty 5: Alpha Blending

From COD Modding & Mapping Wiki
Revision as of 20:13, 1 December 2008 by Zeroy (talk | contribs) (New page: Image: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 tex...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

The first 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

  • 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



  • 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:




The black line on the patch showing the vertices is obtained by pressing the Show Patch as Wideframes option on the toolbar

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
  • Resutl after a few clicks:

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:



Note that i only alpha-blended the edge of the water living the center full color.

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