Hello everyone! I have been having a problem with a material I made and I cant fugure out what is causing it. First off, it [I]should[/I] look something like this, shading wise:
[url]http://i.imgur.com/TCIbPZN.jpg[/url]
however it [I]actually[/I] looks like this:
[url]http://i.imgur.com/Vv2KyTr.jpg[/url]
As you can see, the material appears to be shadeless. The brushes shown in the second picture have the exact same lightmap scale as the ones in the first. I used a very simple vmt, perhaps the problem lies there, but I cannot figure out what it is.
[CODE]LightmappedGeneric
{
$basetexture pbx/walls/wl-white
$surfaceprop wood
}
[/CODE]
If you know what I've done wrong I would be very thankful if you would help me.
For some reason, recently(a little over a week ago), I noticed I was having this problem with all of my custom textures on any config of Source SDK. Since I map for HL2 i went to /common/Half-Life 2/bin/hammer.exe and compiled it there, and it worked. I haven't any idea what caused it, sadly.
Make sure you didn't mess up which brush entity it's tied to. (May be using terms incorrectly, sorry)
Make sure it looks something like this:
"LightmappedGeneric"
{
$basetexture "combine/panel_09/combine_panel_09"
$surfaceprop "metal"
$bumpmap "combine/panel_09/combine_panel_09_ssbump"
$envmap "env_cubemap"
$envmaptint "[.15 .15 .15]"
$ssbump "1"
$SSBumpMathFix "1"
}
ssbump is not needed, nor is envmaptint ( SS bump is for added detail and maptint is to reduce cubemap reflection on the texture ) Make sure your directory is correct, this will cause you the most problems. materials then the folder and its file name so for mine its
materials/combine/panel_09/combine_panel_09
but you don't need to add materials because source scans it automatically.
Sorry, you need to Log In to post a reply to this thread.