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
Поділитися баннером
URL зображення
Вставний HTML код
Вставний BB код
Вставний Markdown код

Credits

Key Authors
Reverend V92 avatar

Submitter

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 226
  • access_time 1mo
  • access_time 1mo

More from Submitter

menu

WiPs by Submitter

menu

More Other/Misc Scripts