DIMEDROLL 13. feb, 2013 @ 8:38am
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

Sist redigert av DIMEDROLL; 13. feb, 2013 @ 8:40am
Viser 1-1 av 1 kommentarer
< >
☠F☺celessMind☠ 21. feb, 2013 @ 1:01am 
"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 av 1 kommentarer
< >
Per side: 15 30 50