texture scale on displacements

texture scale on displacements

Re: texture scale on displacements Posted by Sam37 on Thu Jan 13th 2005 at 5:04pm
Sam37
47 posts
Posted 2005-01-13 5:04pm
Sam37
member
47 posts 5 snarkmarks Registered: Dec 15th 2004 Occupation: Student Location: UK
Hi, I have a grass blend texture on a displacement. The texture scales are both 0.25 and it looks like this in hammer:

User posted image

which is fine, but after compiling it looks like this in HL2DM:

User posted image

http://xs11.xs.to/pics/05024/mapsam.JPG
As you can see the grass is using a very tight scale which looks stupid as you can see how it repeats. Trust me it looks far worse in game, especially over distance!

Ive checked the hammer scales and re-compiled and yet the problem remains. Does anyone know what to do?? :smile:

thanx
Re: texture scale on displacements Posted by Rof on Thu Jan 13th 2005 at 5:12pm
Rof
210 posts
Posted 2005-01-13 5:12pm
Rof
member
210 posts 41 snarkmarks Registered: Dec 3rd 2004
Is this a custom texture? If so, check the .vmt file. There's a really
weird bug that if you miss out a quote after the $basetexture command,
e.g.

"$basetexture "mytex/grass1"

instead of how it should be:

"$basetexture" "mytex/grass1"

the texture works, but shows up at the wrong scale in the game.

The SDK docs have this incorrectly, so it seems to get around a lot in tutorials, etc.
Re: texture scale on displacements Posted by Sam37 on Thu Jan 13th 2005 at 5:18pm
Sam37
47 posts
Posted 2005-01-13 5:18pm
Sam37
member
47 posts 5 snarkmarks Registered: Dec 15th 2004 Occupation: Student Location: UK
thanx for the reply, but it isnt a custom texture. It's just a normal half life 2 blend texture:nature/blendrocksgrass005a

thanx anyway :smile: