Art of War Central
View in iTunes
Please help us to raise in the ranks of podcasting and subscribe to our itunes feed using the link above.
The next MODSonair show will air LIVE on:
03/21/2010 12:03 EDT

Time remaining:
We Dontated to PixelEquity
"Mod or modification is a term generally applied to PC games, especially first-person shooters, RPGs and real-time strategy games." 2
 
Site News   |   Aggregated News   |   Forums   |   Tutorials   |   Downloads   |   Projects   |   Weblinks
Latest Forum Threads 
CoD4 General.. Posts: (77) Views: (93) by DemonSeed
CoDWW Map + Mod .. Posts: (35) Views: (316) by dundy
CoD2 MP Mapping.. Posts: (4) Views: (50) by liltc64
CoD4 MP Mapping.. Posts: (10) Views: (143) by Infern4ll
CoD4 MP Mapping.. Posts: (28) Views: (474) by Darfyddi
CoD2 MP Mapping.. Posts: (9) Views: (74) by puncster1
CoD4 MP Mapping.. Posts: (17) Views: (88) by Infern4ll
CoD4 Scripting.. Posts: (4) Views: (37) by Samuel033
CoDUO Mapping.. Posts: (6) Views: (66) by Fawlty
CoD4 Map + Mod R.. Posts: (7) Views: (526) by tomv8
Back to Home Page
MODSCON 2010 L4D2 Contest
Art of War Central
Register/Login to Add a Tutorial
Tutorials
CoD Mapping
ratings:
Awful Rating
Poor Rating
Average Rating
Good Rating
Excellent Rating
Alpha Blending Tutorial
Versions: You must be logged in to view history.
This tutorial should help teach you how to blend separate terrain meshes with different textures on them so that there will be a smooth transition from one to the other.
Alpha Blending Terrain

This tutorial should help teach you how to blend separate terrain meshes with different textures on them so that there will be a smooth transition from one to the other.

In this first step you will want to create three separate terrain patch meshes.
user posted image

Now find the two textures that you want to blend together and texture the middle texture one of them and the outer two textures the other texture.

A note on alpha blending textures used. Basically you need textures that can be blend on the alpha channel. You might have noticed two different types of names for the textures (one with a "_" and one with a "@"). Those that have the "@" in their name are solid textures that the player can walk on without falling through. Those with the "_" in their name will normaly be invisible and not solid in game. So to make a good alpha blend you need one of each type. (Special thanks to Kalahad)
user posted image

Now copy and paste the middle terrain and move it out of the way for the moment. In the pick I have edited the terrain a little just for looks. Texture this forth mesh with the texture you used for the outer meshes.
user posted image

Now we are going to alpha edit the middle mesh to start the blending process. Highlight the middle mesh and hit "Y" which will bring up the "Advanced Patch Editing Options" dialog box. In the dialog box select "Flatten" and "Alpha" and uncheck "Allow Soft Selection...". Now as you move your mouse over the patch you will see a set of concentric circles that determine the surface area of the blend. These can be set to your liking in the dialog box with the sliders.
user posted image

Once you have set the inner and outer radius hold down "Alt" and use your mouse buttons to blend the texture on the mesh. Your left mouse button blends it away and your right mouse button brings it back.
user posted image

Now hit "Y" and unselect the patch. It should lack texture where you blended it.
user posted image

Now we will perform the same process to the fourth mesh but blend it in the inverse location that you did the middle mesh.
user posted image

Deselect the fourth mesh and move it over and on top of the middle mesh and you should have finished blended terrain.
user posted image

Last I added some water and a skybox with spawn so I could test it out in game.
user posted image
user posted image

Make sure you don't have OpenGL Lighting activiated under the view menu. If it's activated the blending won't show.

Thanks to General Death for this tutorial