Advertisement
ReverendV92

Disable Colour Proxy Command

Dec 31st, 2018
331
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.37 KB | None | 0 0
  1. // Example Colour Proxy Block .VMT
  2. // Author: V92
  3.  
  4. vertexlitgeneric
  5. {
  6.  
  7.     // Standard Stuff Here
  8.  
  9.     $proxytoggle 1 // (Boolean) A toggle to disable/enable the proxy; overrrides what comes below.
  10.     Proxies
  11.     {
  12.  
  13.         Equals
  14.         {
  15.  
  16.             srcVar1 $proxytoggle // Toggle proxies by reading from abouve
  17.             resultVar $color // The shader parameter to be manipulated
  18.  
  19.         }
  20.  
  21.     }
  22.  
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement