Jump to content

Whats wrong with my textures?


Skjalg

Recommended Posts

I created these two textures;

kl_castleWall_skjalg.jpgkl_castleWall_skjalg_normal.jpgkl_castleWall_skjalg_specul.jpg

kl_grass_skjalg.jpgkl_grass_skjalg_normal.jpgkl_grass_skjalg_specular.jpg

with the wall vtm as

"LightmappedGeneric"

{

    "$basetexture" "cvc2/kl_castleWall_skjalg"

    "$bumpmap" "cvc2/kl_castleWall_skjalg_normal" 

    "$surfaceprop" "rock"

}
and the floor as a blend
"WorldVertexTransition"

{

"$BaseTexture" "cvc2/kl_castleWall_skjalg"

"$BaseTexture2" "cvc2/kl_grass_skjalg"

"$surfaceprop" "rock"

"$surfaceprop2" "grass"

"$bumpmap" "cvc2/kl_castleWall_skjalg_normal"

"$bumpbasetexture2withbumpmap" "cvc2/kl_grass_skjalg_normal"

} 

ingame, i end up with

normalmap.jpg

Usually i try to figure these things out myself, but im just too tired of dealing with textures right now :) As you might be able to see from the textures, these are my very first two... atleast for hl2, i guess you could comment on those too, if you'd like...

Link to comment
Share on other sites

Try it without the normal maps and see what happens. Also, your first $surfaceprop is set to a texturename rather than a surface property like "stone" or whatever the proper choice is.

Done, on both accounts... The textures worked fine without the normal map

Hmm I got that a long time ago, I think I just re-saved the TGA for the bump, and then recompiled the texture.

Tried that, didnt work :(

that usually happens when the file can't find the bumpmap . maybe your missing somthign or misspelling it?

More likely, yes.. but i havent mispelled anything.. So I've probably missed something :???:

I've been struggling with this for hours now, could anyone of you be so kind as to try this yourself :) download the .jpg's and make the textures with the vtex using the normal map...

Would really appreciate any help^^

Link to comment
Share on other sites

yes well, this is kinda embarrasing... I guess this is what happens when you dont completely understand something^^

I thought that when i compiled the .tga to vtf by dragging the vmt ontop of vtex.exe it compiled both the *.tga and *_normal.tga together into one vtf.. Obviously i thought wrong, becase as all of you probably know (that i didnt) is that its actually the vmt's that are sorta like reference files for the editor and engine. And in that file, its referring to the .vtf's...

So basicly, all i had to do was to compile the *_normal.tga files...

GJ SKJALG!! YOU R SO NUB!

Link to comment
Share on other sites

okay, sorry about the wrong forum section... cant be that important :P

Anyways, now that ive finally made it work, i want it too look even better, so i started to redo it, but it still looks too shiny.. so i started reading up on the specular maps and that sorta thing...

Ive googled for some solution and a howto, and the best i could find was a bunch of posts on hl2world... Now, ive figured out how to make one, and that i have to save it in the alpha channel of the normal map...

Now heres my proble, when i try to do "save as.." in photoshop, it wont allow me to save my image as a targa with the alpha channel... why's this?

edit:

Heres something to show what i mean;

alpha_wtf.jpg

Link to comment
Share on other sites

Actually you do want to have the specualr in the normal map alpha. And judging from the screen there your specular will be extremly glossy.

Instead try to keep it very, very dark almost black and with high contrast for glossier parts.

And yes just save it as 32bit TGA and you'll get your alpha in there :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Mapcore Supporters

    Funds go towards hosting and license costs, Discord server boosts, and more. If you'd like to donate, check out our Patreon announcement.

×
×
  • Create New...