Two alpha channels in a .vtf?

A Forum Thread for Source Engine

Attention Gamer! 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

Stop Lurking!

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

  • 2y
    Devieus avatar
    Devieus avatar ONLINE
    Moderator Joined 7y
    79,331 points Ranked 47th
    65 medals 5 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
    • 2017 Top Contributor Medal icon
    • GameBanana’s Christmas Giveaway 2015 Day Twelve Winner! Medal icon
    No, but you can use extra textures for support.
    Sentinel of the TV remote avatar
    Mantra
    Sentinel of the TV remote
  • 2y
    [PRince_4] Sharma avatar
    IND Industry! Flag Affiliation: IND Industry!
    Member Joined 2y
    4,977 points Ranked 949th
    25 medals 1 legendary 5 rare
    • 30 submissions featured Medal icon
    • 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
    • Returned 1000 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!
  • 2y
    DevBat avatar
    DevBat avatar ?
    Member Joined 6y
    740 points Ranked 6337th
    15 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.
  • 2y
    DevBat avatar
    DevBat avatar ?
    Member Joined 6y
    740 points Ranked 6337th
    15 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?
  • 2y
    Devieus avatar
    Devieus avatar ONLINE
    Moderator Joined 7y
    79,331 points Ranked 47th
    65 medals 5 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
    • 2017 Top Contributor Medal icon
    • GameBanana’s Christmas Giveaway 2015 Day Twelve 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
  • 2y
    gtamike_TSGK avatar
    gtamike_TSGK avatar Mapping
    Member Joined 10y
    2,567 points Ranked 1835th
    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

Embed

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

Submitter

DevBat avatar
DevBat avatar ?
Member Joined 6y
740 points Ranked 6337th
15 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,176
Date Added
2y

Featurings

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