How to make texture brighter?

Discussion in 'Mapping Questions & Discussion' started by n3dd, Oct 25, 2018.

  1. n3dd

    n3dd L1: Registered

    Messages:
    16
    Positive Ratings:
    0
    Hey guys, working on a deathrun map and finishing off some traps. I have a billboard as you can see in the picture I've linked, and behind it are barrells that will fall down, killing players. However, I wish to make the texture on the billboard brighter, since its appearance is really ugly. I've tried moving the sun angle as well putting another light source but nothing seems to work. Any way to do this?
    P.S. I don't mind if there isn't a solution for this.

    https://steamuserimages-a.akamaihd....231/7198B20656FA7308707AAF7BE13FB1D9F992C49D/
     
  2. DrSquishy

    aa DrSquishy ???

    Messages:
    1,211
    Positive Ratings:
    779
    If you want to make the base texture lighter, download GCFscape and VTFedit if not already. Open the TF2 .VPK files tf2_misc_dir.VPK and tf2_textures_dir.VPK, found in the /tf folder, using GCFscape. Click the Find button (looks like a magnifying glass) and with the settings 'Match: Substring' and 'Case Sensitive: Not checked' search for your texture name (In your case it is harbor_sign002). Within the tf2_misc_dir.VPK file you should find harbor_sign002.VMT and within tf2_textures_dir.VPK, harbor_sign002.VTF. Extract both of these to a folder anywhere by dragging them from the GCFscape window to the folder, or clicking 'extract' and choosing a location. Rename the files to something like harbor_sign002b, and open up harbor_sign002b(or whatever the name is).VMT with a text editor or VTFedit. Change the line that says `"$baseTexture" "signs/harbor_sign002"` to ` "$baseTexture" "signs/harbor_sign002b"`and save - this is per name, whatever you named your VTF must be what is written for baseTexture. Next, open up your VTF file, and press ctrl+e to export it as an image file, usually it is a PNG if I remember correctly. Open it up in your favourite image editor, and simply change the brightness of the image, I'll not go over that here. Save the file, either as a PNG or TGA, and then go back to VTFedit. Press ctrl+i to import a texture, and select your newly saved texture. Hit ctrl+s and overwrite the existing harbor_sign002b.VTF you have saved. Now, copy both the harbor_sign002b.VMT and harbor_sign002b.VTF files, and paste them into your team fortress 2 folder with the following directory: /tf/materials/signs/ - you can find this directory by looking at the VMT's basetexture line. If one of these folders doesn't exist, just create it. Now, close the Hammer editor if it was already open, and open your map. The texture should be available to you in the material editor. If it's too dark or too bright, just keep playing with the brightness in your image editor, before saving and re-importing the image with VTFedit. Don't forget to overwrite the existing .VTF file in materials/signs/, otherwise your changes won't appear.
    Hopefully this helps you
     
    • Thanks Thanks x 1
  3. n3dd

    n3dd L1: Registered

    Messages:
    16
    Positive Ratings:
    0
    Thanks, will attempt to do this later. I know how to use VTFedit and GCPscape myself, so this will be a piece of cake.
     
  4. Idolon

    aa Idolon the worst admin

    Messages:
    1,886
    Positive Ratings:
    5,674
    I believe you can also brighten a texture adding $color to the .vmt. I've never done it myself, but I seem to remember that using values larger than 1 will brighten the texture (like $color "[1.2 1.2 1.2]"). If this works, it'll reduce the file size for your map in the end compared to making a new .vtf.

    Alternatively, point a light at the sign.
     
  5. Yrr

    aa Yrr An Actual Deer

    Messages:
    1,220
    Positive Ratings:
    2,494
    please please please format your posts to be remotely legible
     
    • Agree Agree x 2
  6. DrSquishy

    aa DrSquishy ???

    Messages:
    1,211
    Positive Ratings:
    779
    I'll try and keep that in mind for next time, although I'm only human.