Source Engine Icon SOURCE Thread

Two alpha channels in a .vtf?

Hey, you! We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending DevBat points.
  • Post: Give DevBat your thoughts on this Thread.
  • Flag: Alert moderators and warn members of a problem with this Thread.
  • Watch: Get notified when this Thread is updated.
Mascot

Resistance is futile...

Join GameBanana

Already a Bananite? Login

Is it possible to have 2 alpha channels in a .vtf? I'm trying to achieve a scrolling light texture that is transparent AND have a second alpha that makes it look fading out as it scrolls.

I've made a translucent scrolling texture but I'm not sure how to fade it as I've already used the alpha channel...

Any ideas?

Posts

  • 10mo
    Devieus avatar
    Devieus avatar ONLINE
    Moderator Joined 7y
    77,256 points Ranked 50th
    62 medals 4 legendary 9 rare
    • 1st Place - Tutorial Contest Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
    • Returned 5000 times Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • GameBanana’s Christmas Giveaway 2015 Day Twelve Winner! Medal icon
    • GameBanana’s Christmas Giveaway 2015 Day Sixteen Winner! Medal icon
    Report post
    No, but you can use extra textures for support.
    Sentinel of the TV remote avatar
    Mantra
    Sentinel of the TV remote
  • 10mo
    [PRince_4] Sharma avatar
    IND Industry! Flag Affiliation: IND Industry!
    Member Joined 11mo
    4,097 points Ranked 1092nd
    21 medals 4 rare
    • 10 submissions featured Medal icon
    • Received thanks 50 times Medal icon
    • Thanked 50 submitters Medal icon
    • 8-14 Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • One month a member Medal icon
    • Returned 100 times Medal icon
    [PRince_4] Sharma IND Industry! Flag
    IND Industry!
    Report post
    There might be no sloution for two Alphas in a single .vtf but to achieve what you need you can use Proxies.
    Here
    Slicin' My Way 2 TOP! avatar
    Mantra
    Slicin' My Way 2 TOP!
  • 10mo
    DevBat avatar
    DevBat avatar ?
    DevBat Studio Flag Affiliation: DevBat Studio
    Member Joined 6y
    DevBat avatar
    DevBat
    DevBat Studio Flag
    DevBat Studio
    Report post
    Posted by Devieus

    No, but you can use extra textures for support.

    You mean I could provide the extra transparancy if I add it with another texture?

    Not sure how to solve that in the .vmt though.
  • 10mo
    DevBat avatar
    DevBat avatar ?
    DevBat Studio Flag Affiliation: DevBat Studio
    Member Joined 6y
    DevBat avatar
    DevBat
    DevBat Studio Flag
    DevBat Studio
    Report post
    Posted by PRince_4

    There might be no sloution for two Alphas in a single .vtf but to achieve what you need you can use Proxies.
    Here

    I can't find the Proxy that would be needed for this kind of effect.

    Did you have a specific Proxy in mind?
  • 10mo
    Devieus avatar
    Devieus avatar ONLINE
    Moderator Joined 7y
    77,256 points Ranked 50th
    62 medals 4 legendary 9 rare
    • 1st Place - Tutorial Contest Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
    • Returned 5000 times Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • GameBanana’s Christmas Giveaway 2015 Day Twelve Winner! Medal icon
    • GameBanana’s Christmas Giveaway 2015 Day Sixteen Winner! Medal icon
    Report post
    Posted by DevBat

    Posted by Devieus

    No, but you can use extra textures for support.

    You mean I could provide the extra transparancy if I add it with another texture?

    Not sure how to solve that in the .vmt though.
    No, translucency (and by extensions transparency) are all in the basetexture alpha, but that other thing, fade (whatever that is) probably can.

    Sentinel of the TV remote avatar
    Mantra
    Sentinel of the TV remote
  • 10mo
    gtamike_TSGK avatar
    gtamike_TSGK avatar Mapping
    Member Joined 10y
    2,354 points Ranked 1932nd
    15 medals 3 rare
    • 6 years a member Medal icon
    • Returned 1000 times Medal icon
    • Submitted 20 Maps Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    • One month a member Medal icon
    Report post

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Submitter

DevBat avatar
DevBat avatar ?
DevBat Studio Flag Affiliation: DevBat Studio
Member Joined 6y

DevBat avatar
DevBat
DevBat Studio Flag
DevBat Studio
Send a Private Message to the submitter

Category

Attributes

Stats

Posts
6
Views
804
Date Added
11mo

Featurings

  • Today's Pick Jun 14 2016