displacement blends
Post Reply
Quote
Re: displacement blends
Posted by Kampy on Thu Jul 16th at 8:44am 2009


Hey I want to use blends on my displacements like ROCK and SAND, but it seems like I can only use special pairs of textures. Is there a way to combine two textures that I want to use?



Quote
Re: displacement blends
Posted by Kampy on Thu Jul 16th at 9:48am 2009


So my idea was to make a large area of displacements as a basis for my map and devide it into different parts where each has sand (groundtexture) and one additional texture that makes for example a mountain or a street or a variation of sand. That would of course only work if I could choose the textures and combine them. smiley
(btw sry for posting in the wrong forum again - I get it now Half-Life editing is HL1 editing)




Quote
Re: displacement blends
Posted by Riven on Thu Jul 16th at 12:25pm 2009


Moved smiley -Umm, for blendmodes of textures, you're limited to the ones available for the game you're mapping for. If you want new textures to blend, you'd have to actually create them separately as a different texture altogether. Here's a tut on how to do that if you're interested: http://www.moddb.com/tutorials/creating-blend-textures





Quote
Re: displacement blends
Posted by Kampy on Fri Jul 17th at 3:51pm 2009


yeah thats the only thing that came to my mind as well smiley



Quote
Re: displacement blends
Posted by reaper47 on Fri Jul 17th at 4:30pm 2009


Accepted Answer
Not sure if I got the whole problem, but I'm pretty positive that what you're looking for can be done.

You can blend two arbitrary textures by creating a new *.VMT file using the "worldvertextransition" type and placing it in the "materials" folder. It's as easy as writing a txt file. I did the same, blending an existing brick and gravel texture (which I do not think were part of any previous "worldvertextransition" blends). The result is a simple text-file (like "my_gravel_brick_blend.vmt") a few bytes in size and it worked flawlessly on any displacement.

You can only blend two textures, max, though. I don't know if this is what you were looking for, but if you wanted to blend 3, you had to create two different blend VMTs and two different displacements (blending to the same texture where the displacements meet).




Quote
Re: displacement blends
Posted by Kampy on Fri Jul 17th at 9:49pm 2009


nah its okay I thought maybe there was a different way - I will probably do it like this




Post Reply