(Request) Polished Gold Texture

Got problems with your models? Struggling with textures? Get help with your custom assets.

(Request) Polished Gold Texture

Postby Naticus on Sun Oct 09, 2011 10:06 pm

This one should be pretty easy but I am having a hell of a time executing it. I need a polished gold texture like you would find on gold bars. Shiny, metallic and gold... easy right? I'd like some slight imperfections in the texture to give a little character and it should be tileable. If anyone is willing to give it a go, please also include the settings you recommend using for the environment mask as well as any other vmt parameters. Thanks in advance for your help!
Naticus
Been Here A While
Been Here A While
 
Joined: Mon May 22, 2006 4:54 pm

Re: (Request) Polished Gold Texture

Postby Gambini on Sun Oct 09, 2011 11:32 pm

I can tell you what you have to do in order to make yours, which is pretty easy.

1- Create a black box, small as posible -since it wont be visible- example 32x32.

2- Save it as DTX5 and make sure the alpha channel is completely white.

3- Then make sure the vmt file looks something like this:

Code: Select all
"LightmappedGeneric"
{
   "$baseTexture" "metal/gold"
   "$surfaceprop"   "metal"
     "$envmap" "env_cubemap"
       "$basealphaenvmapmask" 1
                "$envmaptint" 1 .5 .01
}


If it doesn´t look like real gold, play with the envmaptint values it´s RGB in percentages, while 1 is 255 and 0 is 0.
User avatar
Gambini
Sir Post-a-lot
Sir Post-a-lot
 
Joined: Mon Oct 20, 2008 1:52 am
Location: Buenos Aires, Argentina.

Re: (Request) Polished Gold Texture

Postby Naticus on Mon Oct 10, 2011 10:52 am

My texture keeps coming out black in game with zero reflectivity. Any idea of what I could be doing wrong? I started with the vmt settings exactly as you laid out. I also created a 32x32 black texture with a pure white alpha layer and saved as DTX5. I also added cubemaps. :?
Naticus
Been Here A While
Been Here A While
 
Joined: Mon May 22, 2006 4:54 pm

Re: (Request) Polished Gold Texture

Postby Gambini on Mon Oct 10, 2011 4:52 pm

I´m sorry, I made a mistake when writting the instructions, the alpha channel should be completely black. It´s just that "basealphaenvmapmask" command works the inverse and i forgot.

So, that, make the alpha completely black and try again.

NOTES: It is possible that the "basealphaenvmapmask" and the alpha channel in the vmf aren´t needed. Meaning that, with no envmap exponent, the engine will make it fully reflective. This would allow to save the material in DTX1 format which could save some memory (very little btw, but every bit counts when it´s about performance). Be sure to try this just after making sure the previous method worked (so you can go back, if this doesn´t work). Also, you would like to add "$nodecal" to the vmt in order to avoid bulletholes.

EDIT: Just noticed that my chrome material sizes 8x8 and it works perfectly, you know the smaller the better performance performance performance
User avatar
Gambini
Sir Post-a-lot
Sir Post-a-lot
 
Joined: Mon Oct 20, 2008 1:52 am
Location: Buenos Aires, Argentina.

Re: (Request) Polished Gold Texture

Postby Naticus on Mon Oct 10, 2011 7:09 pm

Yep, it was black instead of white. Now it works great. Here is the vmt I went with:

Code: Select all
LightmappedGeneric
{
$basetexture "nakatomi/gold076a"
$basealphaenvmapmask 1
$surfaceprop metal
$envmap env_cubemap
$envmaptint "{ 220 200 110}"
$envmapcontrast 0.5
$envmapsaturation 1.2
}
Naticus
Been Here A While
Been Here A While
 
Joined: Mon May 22, 2006 4:54 pm

Re: (Request) Polished Gold Texture

Postby Naticus on Mon Oct 10, 2011 9:23 pm

Here is how it looks in game:
Image

Thanks for pointing me in the right direction!
Naticus
Been Here A While
Been Here A While
 
Joined: Mon May 22, 2006 4:54 pm

Re: (Request) Polished Gold Texture

Postby Gary on Tue Oct 11, 2011 1:00 am

Whoa, that came out great...
Have a question related to modding or something I posted? Something that needs staff attention? I haven't been active lately, but feel free to PM me or message me on Steam(link below)

User avatar
Gary
Interlopers Staff
Interlopers Staff
 
Joined: Wed Dec 16, 2009 12:40 am
Location: USA, FL

Re: (Request) Polished Gold Texture

Postby no00dylan on Tue Oct 11, 2011 1:29 am

Wow! It sure did!
User avatar
no00dylan
Veteran
Veteran
 
Joined: Sat Apr 19, 2008 10:34 pm
Location: NC, USA

Re: (Request) Polished Gold Texture

Postby Zecrah on Tue Oct 11, 2011 4:18 pm

Shiny
Major Banter wrote:Zecrah, you've come from nowhere yet have rapidly become a Hammer God.

Wtf.


Check out my weapons tutorial
Zecrah
Design Section Moderator
 
Joined: Sat Sep 27, 2008 10:56 am

Re: (Request) Polished Gold Texture

Postby joe_rogers_11155 on Tue Oct 11, 2011 9:14 pm

now i want golden vortigaunts in a mod called "The Midas Touch"
"Day breaks, but decay soon follows." - Ava Winona
Currently developing in radio silence... 99 Bolts
Here's another project of mine... Assault on Overwatch
Are you new to Source SDK? VDC
joe_rogers_11155
Veteran
Veteran
 
Joined: Wed Oct 08, 2008 11:11 pm
Location: United States

Return to Custom Asset Help

Who is online

Users browsing this forum: No registered users

cron