Custom texture lighting issues

Discussion in 'Mapping Questions & Discussion' started by MoonUnit, Sep 9, 2008.

  1. MoonUnit

    MoonUnit L1: Registered

    Messages:
    12
    Positive Ratings:
    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 :)
     
  2. VelvetFistIronGlove

    aa VelvetFistIronGlove

    Messages:
    567
    Positive Ratings:
    437
    You want to use "LightmappedGeneric" instead of "VertexLitGeneric"; the latter should only be used for models.
     
  3. MoonUnit

    MoonUnit L1: Registered

    Messages:
    12
    Positive Ratings:
    0
    Ah, cheers thanks for that! As I say I was adapting my knowledge from only previously having done custom model textures.