Home Contests & Challenges Archives Team Fortress 2

Trying to use : Paint, Alpha and Illum

polycounter lvl 9
Offline / Send Message
Baddcog polycounter lvl 9
Have an item that I need to use paint, alpha and illum on.

I have paint working (alpha of diffuse).

I tried alpha on normal, doesn't seem to work.

And just used a greyscale image in the illum slot. Doesn't seem to work.


Anyone know how to get them all working?

Replies

  • CaptainGoodstuff
    I had the same problem trying to use the alpha channel on my normal map. I assume you're trying to make it the phong mask? And you're probably using VTFEdit to convert a .tga file into a .vtf? That might be the problem, it doesn't seem to work right with normals.

    Instead, drag and drop your .tga onto "vtex.exe" which is located in:
    C:\Program Files (x86)\Steam\steamapps\common\SourceSDK\bin\orangebox\bin

    You have to put the .tga in a certain place to make it work, and make note of where vtex.exe outputs your new .vtf, go here to figure that out:
    https://developer.valvesoftware.com/wiki/Vtex_troubleshooting#Problem_figuring_out_outputdir

    Beyond that, using "$normalmapalphaenvmapmask" "1" makes the alpha map work fine.

    Hope this helps.
  • Baddcog
    Offline / Send Message
    Baddcog polycounter lvl 9
    Thanks man, I got it to work in the compiler in workshop.

    I used a black and white image as my main texture with matching alpha. Tint by alpha, addititve, translucent and alpha test boxes checked.
Sign In or Register to comment.