Dmitriy 13. feb. 2013 kl. 8:38
How to correctly blend textures with different resolutions?
I have a VMT material that blends a 512x512 texture with 1024x1024 texture.

"WorldVertexTransition" { "$basetexture" "corner/rooftiles_01a_db" "$bumpmap" "maps/nd_dubai/db_rooftops/rooftiles_01_db_normal" "$basetexture2" "maps/nd_dubai/db_sand/sand05a_db" "$bumpmap2" "maps/nd_dubai/db_sand/sand05a_db_normal" "$surfaceprop" "tile" "$surfaceprop2" "sand" "%keywords" "nucleardawn" }

In Hammer such material is considered as 512x512 in size and has a lower scale then the 1024x1024 materials thus they don't align properly:
http://steamcommunity.com/sharedfiles/filedetails/?id=126940195

How do I manage this correctly? I find 2 ways of solving this:
1. Increase texture scale on a surface
2. Increase the 512x512 texture itself to 1024x1024 size

Sidst redigeret af Dmitriy; 13. feb. 2013 kl. 8:40
< >
Viser 1-1 af 1 kommentarer
☠F☺celessMind☠ 21. feb. 2013 kl. 1:01 
"WorldVertexTransition"
{
"$basetexture" "corner/rooftiles_01a_db"
"$bumpmap" "maps/nd_dubai/db_rooftops/rooftiles_01_db_normal"
"$bumptransform" "center .5 .5 scale 4 4 rotate 0 translate 0 0"

"$basetexture2" "maps/nd_dubai/db_sand/sand05a_db"
"$bumpmap2" "maps/nd_dubai/db_sand/sand05a_db_normal"
$bumptransform2 "center .5 .5 scale 4 4 rotate 0 translate 0 0"

$blendmodulatetexture "you need a map here to create the right blending from your two materials"
$blendmasktransform "center .5 .5 scale 4 4 rotate 0 translate 0 0"


%tooltexture "corner/rooftiles_01a_db_tooltexture"
"$basetexturetransform" "center .5 .5 scale 4 4 rotate 0 translate 0 0"
"$basetexturetransform2" "center .5 .5 scale 4 4 rotate 0 translate 0 0"


"$surfaceprop" "tile"
"$surfaceprop2" "sand"

"%keywords" "nucleardawn"
}

you need a blendmodulate texture, and a tooltexture, (the one you see in hammer texture browser)
< >
Viser 1-1 af 1 kommentarer
Per side: 1530 50