Difference between revisions of "Talk:$translucent"

From Valve Developer Community
Jump to: navigation, search
(Gimp colour loss warning)
($alphatestreference: new section)
Line 4: Line 4:
 
::Hmph, I'm sure it's worked for me.  I'll check it again, and if it turns out it's not working, I'll put your message back. [[User:Longsight|Longsight]] 11:18, 30 Aug 2008 (PDT)
 
::Hmph, I'm sure it's worked for me.  I'll check it again, and if it turns out it's not working, I'll put your message back. [[User:Longsight|Longsight]] 11:18, 30 Aug 2008 (PDT)
 
::Checked it out and it worked fine.  Applied a 100% transparency mask to an image in GIMP and then saved it as a PNG with colour preserved, and it imported into VTFEdit with colour intact.  The image I used can be found [http://img244.imageshack.us/img244/4188/alphatestxu5.png here] if you want to check for yourself. [[User:Longsight|Longsight]] 11:28, 30 Aug 2008 (PDT)
 
::Checked it out and it worked fine.  Applied a 100% transparency mask to an image in GIMP and then saved it as a PNG with colour preserved, and it imported into VTFEdit with colour intact.  The image I used can be found [http://img244.imageshack.us/img244/4188/alphatestxu5.png here] if you want to check for yourself. [[User:Longsight|Longsight]] 11:28, 30 Aug 2008 (PDT)
 +
 +
== $alphatestreference ==
 +
 +
I noticed in the tree prop model VMTs for Episode 2, there's an "$alphatestreference" 0.5 in the VMT... So, what does this do, exactly? --'''[[User:Campaignjunkie|Campaignjunkie]]''' <sup>([[User talk:Campaignjunkie|talk]])</sup> 23:50, 2 January 2010 (UTC)

Revision as of 23:50, 2 January 2010

Gimp colour loss warning

Is this really necessary, given that saving as PNG allows colour information to be saved for completely transparent values, and the resulting PNG files can be imported into VTFEdit quite happily? It's not true to say that there's no workaround, it's just not default behaviour when saving as TGA. Longsight 18:42, 29 Aug 2008 (PDT)

That's never worked for me. The option is there, but the values are deleted anyway. --TomEdwards 06:15, 30 Aug 2008 (PDT)
Hmph, I'm sure it's worked for me. I'll check it again, and if it turns out it's not working, I'll put your message back. Longsight 11:18, 30 Aug 2008 (PDT)
Checked it out and it worked fine. Applied a 100% transparency mask to an image in GIMP and then saved it as a PNG with colour preserved, and it imported into VTFEdit with colour intact. The image I used can be found here if you want to check for yourself. Longsight 11:28, 30 Aug 2008 (PDT)

$alphatestreference

I noticed in the tree prop model VMTs for Episode 2, there's an "$alphatestreference" 0.5 in the VMT... So, what does this do, exactly? --Campaignjunkie (talk) 23:50, 2 January 2010 (UTC)