GameBanana shows no ads to members. Sign up now!
Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Color Blocking VMT Snippet

A Config Script for Source Engine

14 273 bytes Raw Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$color2 "[ 1 1 1 ]" // Override the color render effect
// Use "{ R G B }" if using RGB instead of a 0-1 float.
Proxies
{

    Equals
    {

        srcVar1 $color2 // Disable Proxies
        resultVar $color // The shader parameter to be manipulated

    }

}

Prevent a material from being coloured

A little snippet of code to disable colour proxies on a specific .VMT file.

When used, this snippet will prevent a material (such as a facemap, glass window, etc.) from being coloured when used by an I/O system via Hammer, or an in-game tool.
Sign up to access this!

No comments yet

Embed

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

Credits

Key Authors
Reverend V92 avatar
Reverend V92 username pic Joined 10y ago
HL2 Manager HL2:MMod Manager HL2:DM Manager Source Manager OC Manager Syn Manager GMod Manager GMod 9 Manager INS Manager DoD:S Manager CS:S Manager BM Manager L4D Manager L4D2 Manager Moderator
WAITING
30,146 points Ranked 165th
48 medals 3 legendary 10 rare
  • 2019 Top Contributor Medal icon
  • Returned 5000 times Medal icon
  • 10 years a member Medal icon
  • 2nd Place - A Bananite's Guide to... Contest Medal icon
  • 6 years a member Medal icon
  • Returned 1000 times Medal icon

Submitter

Reverend V92 avatar
Reverend V92 username pic Joined 10y ago
HL2 Manager HL2:MMod Manager HL2:DM Manager Source Manager OC Manager Syn Manager GMod Manager GMod 9 Manager INS Manager DoD:S Manager CS:S Manager BM Manager L4D Manager L4D2 Manager Moderator
WAITING
30,146 points Ranked 165th
48 medals 3 legendary 10 rare
  • 2019 Top Contributor Medal icon
  • Returned 5000 times Medal icon
  • 10 years a member Medal icon
  • 2nd Place - A Bananite's Guide to... Contest Medal icon
  • 6 years a member Medal icon
  • Returned 1000 times Medal icon
Reverend V92 avatar
Reverend V92

Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

License

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • 0
  • 1.1k
  • 1y
  • 8mo

More from Submitter

WiPs by Submitter

More Other/Misc Scripts