Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Custom Textures In Hammer: Part 2

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,866
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 29, 2010

WATCH PART 1 HERE: http://www.youtube.com/watch?v=y40UIt5SKqw
In the previous tutorial you have learned how to download, create import and use custom made textures into Valve's Hammer editor.

In this tutorial you will learn how to make those textures look like more than just a flat image on a surface. You will also learn how to package the textures so others can see them in your maps.

EXAMPLE VMT-S:
--------------------------------------------------
The brick texture with bumpmap:
"LightmappedGeneric"
{
"$basetexture" "newtextures/brick_new"
"$surfaceprop" "Brick"
"$bumpmap" "newtextures/brick_new_bump"
}

The tile floor texture with bumpmap & reflections:
"LightmappedGeneric"
{
"$basetexture" "newtextures/tile_floor"
"$bumpmap" "newtextures/tile_floor_bump"
"$surfaceprop" "Tile"
"$envmap" "env_cubemap"
"$envmaptint" "[ .5 .5 .5]"
}
--------------------------------------------------

LINKS:
--------------------------------------------------
Crazybump:
http://www.crazybump.com/

PakRat:
http://developer.valvesoftware.com/wiki/Pakrat

Paint.NET
http://www.getpaint.net/

VTFEdit
http://nemesis.thewavelength.net/index.php?p=40

Get texture resources from:
http://www.cgtextures.com/
--------------------------------------------------

  • likes, 2 dislikes

Link to this comment:

Share to:

Uploader Comments (Imp0s5ible)

  • One last question. Is it possible that my PC doesnt support bumpmaps? I have mat_bumpmap set to 1, but i still see NO bumpmaps. However, i have NEVER seen a bumpmap in any source games, ever. So im starting to think that my PC is restricting it. Seeing that i have a graphics chipset from intel. Not an actual gfx card....

  • @rockoman100 Since you have a graphics chipset but no dedicated video card, I'm 100% sure your PC does not support bumpmaps. You can buy some pretty cheap dedicated video cards that support old PCs, and you should, if you plan to use your computer for any sort of game development/mapping.

  • Hammer seems to be rejecting my material. its 512 x 512, i created accurate VMTs, but it still shows up as missing texture in hammer. Is this because the material is not tiled? It doesnt repeat

  • @rockoman100 No, that shouldn't be a problem. Since the texture actually shows up as an option in hammer I think the .vmt-s are in the right place. However, you had to do something wrong if it doesn't show up in hammer. Since your textures are the proper size and the vmt-s are accurate(proper syntax, $basetexture path doesn't include materials folder), my only guess is that the vtf was not saved properly. Make sure you chose version 7.2 on the Advanced tab when saving in Paint dot NET.

  • Ok i understand Pakrat is A LOT easier, but is it also possible for me to just include the materials folder with all the materials in it without using pakrat? you know, for advanced users and collaboration....

  • @rockoman100 Yes, but I don't see the point of that. Anyone who really wants to use your textures could just extract it from the map himself. Plus, any server that hosts your map would also have to be set to download your textures as well, instead of simply downloading the map, creating a huge inconvenience which would make your map very unpopular. In short, it's not worth it.

see all

All Comments (40)

Sign In or Sign Up now to post a comment!
  • Thanks buddy, you made an apprentice mapper very happy.

  • thank you

  • you can create bumpmaps with photoshop aswell. you just need the nvidia photoshop plugin for normal mapping

  • @Mrfrizzywalkthroughs You mean the texture seems completely flat when lit by lightmaps, but the flashlight produces bumps? You could try lighting the surface from a different angle, and make sure you have bumpmaps enabled if you're using advanced compile options.

  • Most emotional tutorial ever.

    Thanks man!

  • @gtamikesvideos im not that stupid T_T. I do that every time. My conclusion is my graphics chipset, it doesn support bumpmaps. Or anti-aliasing.

  • @rockoman100

    buildcube maps in console

  • at the end i cried ;)

    Thx for tut!

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more