Source Engine Icon SOURCE Thread

Two alpha channels in a .vtf?

SEX! Ok, we got your attention. 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?

Comments

  • Devieus avatar
    Devieus avatar ONLINE
    Moderator Joined 7 years ago
    76,216 points Ranked 51st
    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
    9 months ago:
    No, but you can use extra textures for support.
    Sentinel of the TV remote avatar
    Mantra
    Sentinel of the TV remote
  • [PRince_4] Sharma avatar
    IND Industry! Flag Affiliation: IND Industry!
    Member Joined 10 months ago
    4,052 points Ranked 1086th
    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
    9 months ago:
    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!
  • DevBat avatar
    DevBat avatar ?
    DevBat Studio Flag Affiliation: DevBat Studio
    Member Joined 6 years ago
    DevBat avatar
    DevBat
    DevBat Studio Flag
    DevBat Studio
    Report post
    9 months ago:
    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.
  • DevBat avatar
    DevBat avatar ?
    DevBat Studio Flag Affiliation: DevBat Studio
    Member Joined 6 years ago
    DevBat avatar
    DevBat
    DevBat Studio Flag
    DevBat Studio
    Report post
    9 months ago:
    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?
  • Devieus avatar
    Devieus avatar ONLINE
    Moderator Joined 7 years ago
    76,216 points Ranked 51st
    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
    9 months ago:
    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
  • gtamike_TSGK avatar
    gtamike_TSGK avatar Mapping
    Member Joined 10 years ago
    1,980 points Ranked 2305th
    14 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
    9 months ago:

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 6 years ago

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

Category

Attributes

Stats

Posts
6
Views
768
Date Added
9 months ago
Jun 13 2016 @ 3:47pm UTC
Date Updated
9 months ago
Jun 13 2016 @ 3:47pm UTC

Featurings

  • Today's Pick Jun 14 2016