Two alpha channels in a .vtf?

A Forum Thread for Source Engine

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

Sound fun?

Sign up

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

  • 1y
    Devieus avatar
    Devieus avatar ONLINE
    Moderator Joined 7y
    81,056 points Ranked 46th
    64 medals 4 legendary 10 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
    No, but you can use extra textures for support.
    Sentinel of the TV remote avatar
    Mantra
    Sentinel of the TV remote
  • 1y
    [PRince_4] Sharma avatar
    IND Industry! Flag Affiliation: IND Industry!
    Member Joined 1y
    4,430 points Ranked 1040th
    23 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!
    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!
  • 1y
    DevBat avatar
    DevBat avatar ?
    Member Joined 6y
    659 points Ranked 6887th
    14 medals 1 rare
    • 6 years a member Medal icon
    • Became a Studio Leader Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    • 2 years a member Medal icon
    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.
  • 1y
    DevBat avatar
    DevBat avatar ?
    Member Joined 6y
    659 points Ranked 6887th
    14 medals 1 rare
    • 6 years a member Medal icon
    • Became a Studio Leader Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    • 2 years a member Medal icon
    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?
  • 1y
    Devieus avatar
    Devieus avatar ONLINE
    Moderator Joined 7y
    81,056 points Ranked 46th
    64 medals 4 legendary 10 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
    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
  • 1y
    gtamike_TSGK avatar
    gtamike_TSGK avatar Mapping
    Member Joined 10y
    2,086 points Ranked 2263rd
    16 medals 1 legendary 3 rare
    • 10 years a member Medal icon
    • 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

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 ?
Member Joined 6y
659 points Ranked 6887th
14 medals 1 rare
  • 6 years a member Medal icon
  • Became a Studio Leader Medal icon
  • One month a member Medal icon
  • 6 months a member Medal icon
  • 1 year a member Medal icon
  • 2 years a member Medal icon

DevBat avatar
DevBat
Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!

Category

Attributes

Stats

Posts
6
Views
1,077
Date Added
1y

Featurings

  • Today's Pick Jun 14 2016
bcp.crwdcntrl.net tracking pixel