----------------
 $palette
----------------

   .

 :
$palette <command> [<args>]

  :

1) invert

:
$palette invert

     (  !). ..    ,  -   ..
   indexalpha-:    RGB->Grayscale->Index          ,    ,   .      indexalpha-,       (  ,   ),      .

2) modulate

:
$palette modulate r g b

      .      ,   r g b,   modulate.
    .

3) add

:
$palette add r g b

        . ..         ,      (0,255).

4) color

:
$palette color colorIndex operation r g b

 ,       (colorIndex -    ).
 : set, move.         .   -       ,    (    -  ).       (0,255).
   -      .         (0,0,255),        ,  Half-Life     .     :
$palette color 255 move 0 0 255
 ()      ,    .

----------------
 $gamma
----------------

 -     ,  studiomdl.exe.
    1.8.

 :
$gamma <value>

   ,        studiomdl.exe  .

