Custom texture lighting issues

MoonUnit

L1: Registered
Aug 12, 2008
12
0
Hello again, more lighting issues it seems

So I've been working on some custom textures for my map. I've got them in game and that's all looking spiffy but they're reacting weirdly to lighting changes. As you can see in the attached screen shot when the player is in the sunlight they are well lit, and change to a dramatically darker lighting when the player moves into shadow. Note the valve texture in the archway that doesn't change at all, which is what they should be doing...

Is it something to do with the vmt that I haven't included. It seems like vmts are a bottomless pit of parameters so I honestly just kinda fudged them out as all the template solutions I could find pertained to model textures as apposed to vmts for brush textures. Here's what my vmt looks like:


"VertexLitGeneric"
{
"$basetexture" "sandStoneGround01/sandStoneGround01"
"$surfaceprop" "rock"
"$envmapmode" 1

}

Thanks in advanced for any help :)
 
Dec 25, 2007
566
439
You want to use "LightmappedGeneric" instead of "VertexLitGeneric"; the latter should only be used for models.
 

MoonUnit

L1: Registered
Aug 12, 2008
12
0
Ah, cheers thanks for that! As I say I was adapting my knowledge from only previously having done custom model textures.