"material not found"!

"material not found"!

Re: "material not found"! Posted by Nanodeath on Mon Dec 20th 2004 at 8:28am
Nanodeath
356 posts
Posted 2004-12-20 8:28am
356 posts 66 snarkmarks Registered: Nov 11th 2004 Occupation: Student - Bioengineering Location: Seattle, WA, USA
As some of you may know I'm working on a snow map for HL2: DM, and I used a texture I exported from CS: S. I have almost everything working: the texture is visible in Hammer, the texture is visible ingame, the texture automatically downloads to clients when they join the game, however even with full compiles the snow never has any lighting! I'm uh, guessing it has something to do with the

material "customtex/snow01" not found
Material not found!: CUSTOMTEX/SNOW01

error I'm getting near the top of the compile log (nothing else is relevant, I believe). Any ideas of how to get the compiler to recognize the texture? I've tried every location I can think of...the vmf location, the bsp location, the vbsp directory, a couple different directories in the source sdk folder (hl2mp_sample_content and sdkcontent)...and I'm lost. I want my lighting! :razz: I'd appreciate any suggestions...
Re: "material not found"! Posted by Guessmyname on Mon Dec 20th 2004 at 1:31pm
Guessmyname
342 posts
Posted 2004-12-20 1:31pm
342 posts 173 snarkmarks Registered: Dec 6th 2004
Re: "material not found"! Posted by Nanodeath on Mon Dec 20th 2004 at 6:34pm
Nanodeath
356 posts
Posted 2004-12-20 6:34pm
356 posts 66 snarkmarks Registered: Nov 11th 2004 Occupation: Student - Bioengineering Location: Seattle, WA, USA
Yeah, that's where I got started....can someone tell me all the places I should have a copy of the customtex folder? Because I'm still confused...
Re: "material not found"! Posted by Tracer Bullet on Mon Dec 20th 2004 at 6:38pm
Tracer Bullet
2271 posts
Posted 2004-12-20 6:38pm
2271 posts 445 snarkmarks Registered: May 22nd 2003 Occupation: Graduate Student (Ph.D) Location: Seattle WA, USA
This is a shot in the dark, but are you sure you got all of the material information ported over in the vmt file? it may be that you have the image, but none of the material properties such as shaders etc.
Re: "material not found"! Posted by Nanodeath on Mon Dec 20th 2004 at 8:06pm
Nanodeath
356 posts
Posted 2004-12-20 8:06pm
356 posts 66 snarkmarks Registered: Nov 11th 2004 Occupation: Student - Bioengineering Location: Seattle, WA, USA
I just extracted it from CS: S and modfied it a little...it says


LightmappedGeneric
{
"$basetexture" "customtex/snow01"
"$surfaceprop" "snow"
}


So...??
Re: "material not found"! Posted by Nanodeath on Tue Dec 21st 2004 at 5:29pm
Nanodeath
356 posts
Posted 2004-12-21 5:29pm
356 posts 66 snarkmarks Registered: Nov 11th 2004 Occupation: Student - Bioengineering Location: Seattle, WA, USA
Nevermind, the SDK update fixed it.