code/__DEFINES/matrices.dm 
            
        
| TRANSLATE_MATRIX | Helper macro for creating a matrix at the given offsets. Works at compile time. | 
|---|---|
| COLOR_MATRIX_IDENTITY | The color matrix of an image which colors haven't been altered. Does nothing. | 
| COLOR_MATRIX_INVERT | Color inversion | 
| COLOR_MATRIX_SEPIATONE | Sepiatone | 
| COLOR_MATRIX_GRAYSCALE | Grayscale | 
| COLOR_MATRIX_POLAROID | Polaroid colors | 
| COLOR_MATRIX_BRG | Converts reds to blue, green to red and blue to green. | 
| COLOR_MATRIX_BLACK_WHITE | Black & White | 
| COLOR_MATRIX_LIGHTNESS | Adds/subtracts overall lightness 0 is identity, 1 makes everything white, -1 makes everything black | 
| COLOR_MATRIX_CONTRAST | Changes distance colors have from rgb(127,127,127) grey 1 is identity. 0 makes everything grey >1 blows out colors and greys | 
Define Details
COLOR_MATRIX_BLACK_WHITE
            
         
    
    Black & White
COLOR_MATRIX_BRG
            
         
    
    Converts reds to blue, green to red and blue to green.
COLOR_MATRIX_CONTRAST
            
            
         
    
    Changes distance colors have from rgb(127,127,127) grey 1 is identity. 0 makes everything grey >1 blows out colors and greys
COLOR_MATRIX_GRAYSCALE
            
         
    
    Grayscale
COLOR_MATRIX_IDENTITY
            
         
    
    The color matrix of an image which colors haven't been altered. Does nothing.
COLOR_MATRIX_INVERT
            
         
    
    Color inversion
COLOR_MATRIX_LIGHTNESS
            
            
         
    
    Adds/subtracts overall lightness 0 is identity, 1 makes everything white, -1 makes everything black
COLOR_MATRIX_POLAROID
            
         
    
    Polaroid colors
COLOR_MATRIX_SEPIATONE
            
         
    
    Sepiatone
TRANSLATE_MATRIX
            
            
         
    
    Helper macro for creating a matrix at the given offsets. Works at compile time.