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

Members see zero ads. Membership is 100% free
13 217 bytes Raw Code
1
2
3
4
5
6
7
8
9
10
11
12
13
$proxytoggle 1 // Toggle the colour disabling proxy
Proxies
{

    Equals
    {

        srcVar1 $proxytoggle // 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.

Comments

Sign up to access this!

No comments yet

Embed

menu
Disdonu flagon
Bildo URL
Enigita HTML kodo
BB enigita Kodo
Marki enkorpigita kodo

Credits

Key Authors
Reverend V92 avatar
Reverend V92 username pic Joined 9y ago
Offline
10,480 points Ranked 561st
30 medals 5 rare
  • 2nd Place - A Bananite's Guide to... Contest Medal icon
  • 6 years a member Medal icon
  • Returned 1000 times Medal icon
  • Received thanks 50 times Medal icon
  • 10 submissions featured Medal icon
  • Building Bridges Entrant Medal icon

Submitter

Reverend V92 avatar
Reverend V92 username pic Joined 9y ago
Away
10,480 points Ranked 561st
30 medals 5 rare
  • 2nd Place - A Bananite's Guide to... Contest Medal icon
  • 6 years a member Medal icon
  • Returned 1000 times Medal icon
  • Received thanks 50 times Medal icon
  • 10 submissions featured Medal icon
  • Building Bridges Entrant 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

menu

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • favorite 0
  • remove_red_eye 225
  • access_time 1mo
  • access_time 1mo

More from Submitter

menu

WiPs by Submitter

menu

More Other/Misc Scripts