%%W%          %%W%%%W%    %%W%%%%%%%%W%%%W%%%%%%%W%    %%%%%%W%                                                                                      
 
 %%Q%          %%Q%Z%%%W%%%T%]%%%T%P%P%P%P%]%%%Q%%%T%P%P%%%W%%%T%P%P%P%%%W%                                                                                    
 
 %%Q%          %%Q%  Z%%%%T%]%  %%%%%W%    %%Q%%%%%%%T%]%%%Q%      %%Q%                                                                                    
 
 %%Q%          %%Q%  %%T%%%W%  %%T%P%P%]%    %%Q%%%T%P%P%%%W%%%Q%      %%Q%                                                                                    
 
 %%%%%%%W%%%Q%%%T%]%  %%W%%%%%%%%W%%%Q%%%Q%    %%Q%Z%%%%%%%T%]%                                                                                    
 
 Z%P%P%P%P%P%P%]%Z%P%]%Z%P%]%    Z%P%]%Z%P%P%P%P%P%P%]%Z%P%]%Z%P%]%    Z%P%]%  Z%P%P%P%P%P%]%                                                                                      
 
                                                                                                                                                                                   
 
                                                       %%%%%%W%%%W%    %%W%  %%%%%W%  %%%%%%W%  %%%W%      %%%W%  %%%%%%W%  %%%%%%%W%  %%%%%%W%  
 
                                                     %%T%P%P%P%P%]%%%Q%    %%Q%%%T%P%P%%%W%%%T%P%P%%%W%%%%%W%  %%%%Q%%%T%P%P%P%%%W%%%T%P%P%P%P%]%%%T%P%P%P%%%W%
 
                                                     %%Q%          %%%%%%%Q%%%%%%%%Q%%%%%%%T%]%%%T%%%%%T%%%Q%%%Q%      %%Q%%%%%%%%W%%%Q%      %%Q%
 
                                                     %%Q%          %%T%P%P%%%Q%%%T%P%P%%%Q%%%T%P%P%%%W%%%Q%Z%%%T%]%%%Q%%%Q%      %%Q%Z%P%P%P%P%%%Q%%%Q%      %%Q%
 
                                                     Z%%%%%%%W%%%Q%    %%Q%%%Q%    %%Q%%%Q%    %%Q%%%Q%  Z%P%]%  %%Q%Z%%%%%%%T%]%%%%%%%%Q%Z%%%%%%%T%]%
 
                                                       Z%P%P%P%P%P%]%Z%P%]%    Z%P%]%Z%P%]%    Z%P%]%Z%P%]%    Z%P%]%Z%P%]%          Z%P%]%  Z%P%P%P%P%P%]%  Z%P%P%P%P%P%P%]%  Z%P%P%P%P%P%]%  
 
 
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                               D e s c r i p t i o n                                                       / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - / 
 
 
 
 G a m e : G T A   V 	 
 
 P r e s e t :   L i x e i r o C h a r m o s o ' s   V i b r a n c e 
 
 S w e e t F X :   v 2 . 0   P r e v i e w   8   b y   C e e J a y . d k 
 
 A P I   h o o k :   R e s h a d e   b y   C r o s i r e 
 
 
 
 T h i s   i s   a   p r e v i e w   r e l e a s e   m e a n t   t o   a l l o w   u s e r s   t o   b e t a   t e s t   S w e e t F X s   2 . 0   n e w   i n j e c t o r   c a l l e d   R e S h a d e . 
 
 M o r e   f e a t u r e s ,   b u g f i x e s   a n d   p e r f o r m a n c e   o p t i m i z a t i o n s   w i l l   c o m e   b e f o r e   r e l e a s e . 
 
 
 
 H o p e   y o u   e n j o y   S w e e t F X   a n d   R e S h a d e . 
 
   -   C e e J a y . d k 
 
   
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                             C h o o s e   e f f e c t s                                                   / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
 / /   E f f e c t s   a r e   l i s t e d   i n   t h e   o r d e r   t h a t   t h e y   a r e   a p p l i e d . 
 
 / /   S e t   t o   1   f o r   O N   o r   0   f o r   O F F 
 
 # d e f i n e   U S E _ A S C I I                   	 0   / / [ 0   o r   1 ]   A s c i i   :   C o n v e r t s   t h e   i m a g e   t o   A s c i i - a r t . 
 
 # d e f i n e   U S E _ C A R T O O N               	 0   / / [ 0   o r   1 ]   C a r t o o n   :   " T o o n " s   t h e   i m a g e . 
 
 # d e f i n e   U S E _ S M A A                   	 0   / / [ 0   o r   1 ]   S M A A   A n t i - a l i a s i n g   :   S m o o t h e n s   j a g g e d   l i n e s   u s i n g   t h e   S M A A   t e c h n i q u e . 
 
 # d e f i n e   U S E _ F X A A                     	 1   / / [ 0   o r   1 ]   F X A A   A n t i - a l i a s i n g   :   S m o o t h e n s   j a g g e d   l i n e s   u s i n g   t h e   F X A A   t e c h n i q u e . 
 
 # d e f i n e   U S E _ E X P L O S I O N           	 0   / / [ 0   o r   1 ]   E x p l o s i o n   :   S c a t t e r s   t h e   p i x e l s ,   m a k i n g   t h e   i m a g e   l o o k   f u z z y . 
 
 # d e f i n e   U S E _ C A                         	 0   / / [ 0   o r   1 ]   C h r o m a t i c   A b e r r a t i o n   :   M i m i c s   t h e   l o o k   o f   a   c h e a p   c a m e r a   l e n s ,   b y   d i s t o r t i n g   t h e   c o l o r s . 
 
 # d e f i n e   U S E _ A D V A N C E D _ C R T     	 0   / / [ 0   o r   1 ]   A d v a n c e d   C R T   :   S i m u l a t e s   a n   o l d   C R T   T V   d i s p l a y .   ( h a s   a   v e r y   h i g h   p e r f o r m a n c e   c o s t ) 
 
 # d e f i n e   U S E _ P I X E L A R T _ C R T     	 0   / / [ 0   o r   1 ]   P i x e l A r t   C R T   :   S c a n l i n e s   f o r   p i x e l   a r t   ( h i g h   p e r f o r m a n c e   c o s t ) 
 
 # d e f i n e   U S E _ B L O O M                   	 1   / / [ 0   o r   1 ]   B l o o m   :   M a k e s   b r i g h t   l i g h t s   b l e e d   t h e i r   l i g h t   i n t o   t h e i r   s u r r o u n d i n g s   ( r e l a t i v e l y   h i g h   p e r f o r m a n c e   c o s t ) 
 
 # d e f i n e   U S E _ H D R                       	 1   / / [ 0   o r   1 ]   H D R   :   N o t   a c t u a l   H D R   -   I t   j u s t   t r i e s   t o   m i m i c   a n   H D R   l o o k   ( r e l a t i v e l y   h i g h   p e r f o r m a n c e   c o s t ) 
 
 # d e f i n e   U S E _ L U M A S H A R P E N       	 1   / / [ 0   o r   1 ]   L u m a S h a r p e n   :   S h a r p e n s   t h e   i m a g e . 
 
 # d e f i n e   U S E _ L E N S _ D I S T O R T I O N   	 0   / / [ 0   o r   1 ]   C u b i c   L e n s   D i s t o r t i o n   :   D i s t o r t s   t h e   l e n s   c u b i c l y .   ( W I P ) 
 
 
 
 # d e f i n e   U S E _ N O S T A L G I A               	 0   / / [ 0   o r   1 ]   N o s t a l g i a   :   R e m e m b e r   w h e n   y o u   p l a y e d   t h a t   g a m e   y o u   a l w a y s   p l a y e d   o n   t h a t   f i r s t   s y s t e m   o f   y o u r s ?   Y o u   d o n ' t ?   W e l l   h e r e   i s   a   r e m i n d e r . 
 
 # d e f i n e   U S E _ L E V E L S                 	 0   / / [ 0   o r   1 ]   L e v e l s   :   S e t s   a   n e w   b l a c k   a n d   w h i t e   p o i n t .   T h i s   i n c r e a s e s   c o n t r a s t   b u t   c a u s e s   c l i p p i n g .   U s e   C u r v e s   i n s t e a d   i f   y o u   w a n t   t o   a v o i d   t h a t . 
 
 # d e f i n e   U S E _ T E C H N I C O L O R       	 0   / / [ 0   o r   1 ]   T E C H N I C O L O R   :   A t t e m p t s   t o   m i m i c   t h e   l o o k   o f   a n   o l d   m o v i e   u s i n g   t h e   T e c h n i c o l o r   t h r e e - s t r i p   c o l o r   p r o c e s s   ( T e c h i c o l o r   P r o c e s s   4 ) 
 
 # d e f i n e   U S E _ T E C H N I C O L O R 2         	 0   / / [ 0   o r   1 ]   T E C H N I C O L O R   2   :   Y e t   a n o t h e r   T e c h n i c o l o r   e f f e c t   -   n o t   s u r e   i f   t h i s   s t a y s   o r   n o t .   L e t   m e   k n o w   i f   y o u   l i k e   i t . 
 
 # d e f i n e   U S E _ D P X                     	 0   / / [ 0   o r   1 ]   C i n e o n   D P X   :   S h o u l d   m a k e   t h e   i m a g e   l o o k   l i k e   i t ' s   b e e n   c o n v e r t e d   t o   D X P   C i n e o n   -   b a s i c a l l y   i t ' s   a n o t h e r   m o v i e - l i k e   l o o k   s i m i l a r   t o   t e c h n i c o l o r . 
 
 # d e f i n e   U S E _ M O N O C H R O M E         	 0   / / [ 0   o r   1 ]   M o n o c h r o m e   :   M o n o c h r o m e   m a k e s   t h e   c o l o r s   d i s a p p e a r . 
 
 # d e f i n e   U S E _ C O L O R M A T R I X       	 0   / / [ 0   o r   1 ]   C o l o r   M a t r i x   :   A l l o w s   c o l o r   m o d i f i c a t i o n   u s i n g   a   u s e r - d e f i n e d   c o l o r   m a t r i x . 
 
 # d e f i n e   U S E _ L I F T G A M M A G A I N   	 0   / / [ 0   o r   1 ]   L i f t   G a m m a   G a i n   :   A d j u s t   b r i g h t n e s s   a n d   c o l o r   o f   s h a d o w s ,   m i d t o n e s   a n d   h i g h l i g h t s . 
 
 # d e f i n e   U S E _ T O N E M A P               	 0   / / [ 0   o r   1 ]   T o n e m a p   :   A d j u s t   g a m m a ,   e x p o s u r e ,   s a t u r a t i o n ,   b l e a c h   a n d   d e f o g .   ( m a y   c a u s e   c l i p p i n g ) 
 
 # d e f i n e   U S E _ V I B R A N C E             	 1   / / [ 0   o r   1 ]   V i b r a n c e   :   I n t e l l i g e n t l y   s a t u r a t e s   ( o r   d e s a t u r a t e s   i f   y o u   u s e   n e g a t i v e   v a l u e s )   t h e   p i x e l s   d e p e n d i n g   o n   t h e i r   o r i g i n a l   s a t u r a t i o n . 
 
 # d e f i n e   U S E _ C U R V E S                 	 0   / / [ 0   o r   1 ]   C u r v e s   :   C o n t r a s t   a d j u s t m e n t s   u s i n g   S - c u r v e s . 
 
 # d e f i n e   U S E _ S E P I A                   	 0   / / [ 0   o r   1 ]   S e p i a   :   S e p i a   t o n e s   t h e   i m a g e . 
 
 # d e f i n e   U S E _ V I G N E T T E             	 0   / / [ 0   o r   1 ]   V i g n e t t e   :   D a r k e n s   t h e   e d g e s   o f   t h e   i m a g e   t o   m a k e   i t   l o o k   m o r e   l i k e   i t   w a s   s h o t   w i t h   a   c a m e r a   l e n s .   M a y   c a u s e   b a n d i n g   a r t i f a c t s . 
 
 # d e f i n e   U S E _ F I L M G R A I N           	 0   / / [ 0   o r   1 ]   F i l m   G r a i n   :   A d d s   f i l m   g r a i n   t o   t h e   i m a g e . 
 
 # d e f i n e   U S E _ D I T H E R                 	 0   / / [ 0   o r   1 ]   D i t h e r   :   A p p l i e s   d i t h e r i n g   t o   s i m u l a t e   m o r e   c o l o r s   t h a n   y o u r   m o n i t o r   c a n   d i s p l a y .   T h i s   l e s s e n s   b a n d i n g   a r t i f a c t s   ( m o s t l y   c a u s e d   b y   V i g n e t t e ) 
 
 # d e f i n e   U S E _ B O R D E R                 	 0   / / [ 0   o r   1 ]   B o r d e r   :   C a n   b e   u s e d   t o   c r e a t e   l e t t e r b o x   b o r d e r s   a r o u n d   t h e   i m a g e . 
 
 # d e f i n e   U S E _ S P L I T S C R E E N       	 0   / / [ 0   o r   1 ]   S p l i t s c r e e n   :   E n a b l e s   t h e   b e f o r e - a n d - a f t e r   s p l i t s c r e e n   c o m p a r i s o n   m o d e .   ( O n l y   p a r t i a l l y   w o r k i n g   r i g h t   n o w ) 
 
 
 
 # d e f i n e   U S E _ T R A N S I T I O N         	 0   / / [ 0   o r   1 ]   T r a n s i t i o n   :   S h o w s   a   w e l c o m e   s c r e e n   a n d   t h e n   t r a n s i t i o n s   t o   t h e   r e g u l a r l y   s c h e d u l e d   p r o g r a m m i n g 
 
 
 
 # d e f i n e   U S E _ D E P T H                   	 0   / / [ 0   o r   1 ]   D e p t h   :   E n a b l e s   t h e   p o s s i b i l i t y   t o   d i s p l a y   t h e   d e p t h   b u f f e r   -   Y o u   w i l l   s t i l l   n e e d   t o   t o o g l e   i t   o n / o f f   w i t h   ( * )   i n - g a m e 
 
 
 
 # d e f i n e   U S E _ C U S T O M                 	 0   / / [ 0   o r   1 ]   C u s t o m   :   W r i t e   y o u r   o w n   s h a d e r   b y   e d i t i n g   c u s t o m . h ,   a n d   t h e n   e n a b l e   i t   h e r e . 
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                                   A s c i i   s e t t i n g s                                             / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
 # d e f i n e   A s c i i _ i n p u t _ i m a g e                                                   1       / / [ 1   o r   2 ]   1   =   C o l o r   b u f f e r ,   2   =   D e p t h   b u f f e r . 
 
 # d e f i n e   A s c i i _ s p a c i n g                                                           1       / / [ 0   t o   9 ]   D e t e r m i n e s   t h e   s p a c i n g   b e t w e e n   c h a r a c t e r s .   I   f e e l   1   t o   3   l o o k s   b e s t . 
 
 
 
 # d e f i n e   A s c i i _ f o n t                                                                 2       / / [ 1   o r   2 ]   1   =   5 x 5   f o n t ,   2   =   3 x 5   f o n t 
 
 # d e f i n e   A s c i i _ f o n t _ c o l o r               f l o a t 3 ( 2 5 5 ,   2 5 5 ,   2 5 5 )     / / [ 0   t o   2 5 5 ,   0   t o   2 5 5 ,   0   t o   2 5 5 ]   W h a t   c o l o r   t h e   f o n t   s h o u l d   b e .   I n   i n t e g e r   R G B   c o l o r s . 
 
 # d e f i n e   A s c i i _ b a c k g r o u n d _ c o l o r   f l o a t 3 ( 0 ,   0 ,   0 )                 / / [ 0   t o   2 5 5 ,   0   t o   2 5 5 ,   0   t o   2 5 5 ]   W h a t   c o l o r   t h e   b a c k g r o u n d   s h o u l d   b e .   I n   i n t e g e r   R G B   c o l o r s . 
 
 # d e f i n e   A s c i i _ s w a p _ c o l o r s                                                   0       / / S w a p s   t h e   f o n t   a n d   b a c k g r o u n d   c o l o r   w h e n   y o u   a r e   t o o   l a z y   t o   e d i t   t h e   s e t t i n g s   a b o v e   ( I   k n o w   I   a m ) 
 
 
 
 # d e f i n e   A s c i i _ i n v e r t _ b r i g h t n e s s                                       0       / / [ 0   o r   1 ]   
 
 # d e f i n e   A s c i i _ f o n t _ c o l o r _ m o d e                                           1       / / [ 0   t o   2 ]   0   =   f o n t _ c o l o r ,   1   =   i m a g e   c o l o r ,   2   =   c o l o r i z e d   g r a y s c a l e 
 
   
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                     S M A A   A n t i - a l i a s i n g   s e t t i n g s                                 / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
 # d e f i n e   S M A A _ T H R E S H O L D                             0 . 1 0     / / [ 0 . 0 5   t o   0 . 2 0 ]   E d g e   d e t e c t i o n   t h r e s h o l d .   I f   S M A A   m i s s e s   s o m e   e d g e s   t r y   l o w e r i n g   t h i s   s l i g h t l y .   I   p r e f e r   b e t w e e n   0 . 0 8   a n d   0 . 1 2 . 
 
 # d e f i n e   S M A A _ D E P T H _ T H R E S H O L D                 0 . 0 0 1   / / [ 0 . 0 0 1   t o   0 . 1 0 0 ]   D e p t h   e d g e   d e t e c t i o n   t h r e s h o l d .   S a m e   a s   a b o v e   b u t   f o r   t h e   d e p t h   e d g e   d e t e c t i o n .   T h i s   c a n   g o   i n s a n e l y   l o w   a n d   s t i l l   l o o k   g o o d . 
 
 # d e f i n e   S M A A _ M A X _ S E A R C H _ S T E P S                   1 6     / / [ 0   t o   9 8 ]   D e t e r m i n e s   t h e   r a d i u s   S M A A   w i l l   s e a r c h   f o r   a l i a s e d   e d g e s 
 
 # d e f i n e   S M A A _ M A X _ S E A R C H _ S T E P S _ D I A G           6     / / [ 0   t o   1 6 ]   D e t e r m i n e s   t h e   r a d i u s   S M A A   w i l l   s e a r c h   f o r   d i a g o n a l   a l i a s e d   e d g e s 
 
 # d e f i n e   S M A A _ C O R N E R _ R O U N D I N G                       0     / / [ 0   t o   1 0 0 ]   D e t e r m i n e s   t h e   p e r c e n t   o f   a n t i a l i a s i n g   t o   a p p l y   t o   c o r n e r s .   0   s e e m s   t o   a f f e c t   f i n e   t e x t   t h e   l e a s t   s o   i t ' s   t h e   d e f a u l t . 
 
 
 
 / /   - -   A d v a n c e d   S M A A   s e t t i n g s   - - 
 
 # d e f i n e   S M A A _ E D G E _ D E T E C T I O N                         2     / / [ 1 | 2 | 3 ]   1   =   L u m a   e d g e   d e t e c t i o n ,   2   =   C o l o r   e d g e   d e t e c t i o n ,   3   =   D e p t h   e d g e   d e t e c t i o n 
 
 # d e f i n e   S M A A _ D I R E C T X 9 _ L I N E A R _ B L E N D           0     / / [ 0   o r   1 ]   U s i n g   D X 9   H A R D W A R E ?   ( s o f t w a r e   v e r s i o n   d o e s n ' t   m a t t e r )   i f   s o   t h i s   n e e d s   t o   b e   1   -   I f   n o t ,   l e a v e   i t   a t   0 . 
 
                                                                                     / / E n a b l e   t h i s   o n l y   i f   y o u   u s e   a   G e f o r c e   7 x x x   s e r i e s   o r   o l d e r   c a r d ,   o r   a   R a d e o n   X 1 x x x   s e r i e s   o r   o l d e r   c a r d . 
 
 
 
 / /   - -   S M A A   P r e d i c a t i o n   s e t t i n g s   - - 
 
 # d e f i n e   S M A A _ P R E D I C A T I O N                               0     / / [ 0   o r   1 ]   E n a b l e s   p r e d i c a t i o n   w h i c h   u s e s   B O T H   t h e   c o l o r   a n d   t h e   d e p t h   t e x t u r e   f o r   e d g e   d e t e c t i o n   t o   m o r e   a c c u r a t e l y   d e t e c t   e d g e s . 
 
 # d e f i n e   S M A A _ P R E D I C A T I O N _ T H R E S H O L D   0 . 0 0 1     / /   T h r e s h o l d   t o   b e   u s e d   i n   t h e   d e p t h   b u f f e r .                                                                             
 
 # d e f i n e   S M A A _ P R E D I C A T I O N _ S C A L E               2 . 0     / /   H o w   m u c h   t o   s c a l e   t h e   g l o b a l   t h r e s h o l d   u s e d   f o r   l u m a   o r   c o l o r   e d g e   d e t e c t i o n   w h e n   u s i n g   p r e d i c a t i o n 
 
 # d e f i n e   S M A A _ P R E D I C A T I O N _ S T R E N G T H         0 . 4     / /   H o w   m u c h   t o   l o c a l l y   d e c r e a s e   t h e   t h r e s h o l d . 
 
 
 
 / /   - -   D e b u g   S M A A   s e t t i n g s   - - 
 
 # d e f i n e   S M A A _ D E B U G _ O U T P U T                           0     / / [ 0   t o   4 ]   0   =   N o r m a l ,   1   =   e d g e s T e x ,   2   =   b l e n d T e x ,   3   =   a r e a T e x ,   4   =   s e a r c h T e x   -   O n l y   f o r   t r o u b l e s h o o t i n g .   U s e r s   d o n ' t   n e e d   t o   m e s s   w i t h   t h i s .   
 
 
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                     F X A A   A n t i - a l i a s i n g   s e t t i n g s                                 / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
 # d e f i n e   F X A A _ Q U A L I T Y _ _ P R E S E T                     9     / / [ 1   t o   9 ]   C h o o s e   t h e   q u a l i t y   p r e s e t .   9   i s   t h e   h i g h e s t   q u a l i t y . 
 
 # d e f i n e   f x a a _ S u b p i x                               0 . 0 0 0     / / [ 0 . 0 0 0   t o   1 . 0 0 0 ]   C h o o s e   t h e   a m o u n t   o f   s u b - p i x e l   a l i a s i n g   r e m o v a l .   H i g h e r   v a l u e s   m a k e s   t h e   i m a g e   s o f t e r / b l u r r i e r . 
 
 # d e f i n e   f x a a _ E d g e T h r e s h o l d                 1 . 1 6 6     / / [ 0 . 0 0 0   t o   1 . 0 0 0 ]   E d g e   d e t e c t i o n   t h r e s h o l d .   T h e   m i n i m u m   a m o u n t   o f   l o c a l   c o n t r a s t   r e q u i r e d   t o   a p p l y   a l g o r i t h m .   S i m i l a r   t o   S M A A _ T H R E S H O L D 
 
 # d e f i n e   f x a a _ E d g e T h r e s h o l d M i n           0 . 0 0 0     / / [ 0 . 0 0 0   t o   1 . 0 0 0 ]   D a r k n e s s   t h r e s h o l d .   P i x e l s   d a r k e r   t h a n   t h i s   a r e   n o t   p r o c e s s e d   i n   o r d e r   t o   i n c r e a s e   p e r f o r m a n c e . 
 
 
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                           E x p l o s i o n   s e t t i n g s                                             / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
 # d e f i n e   E x p l o s i o n _ R a d i u s           2 . 0                   / / [ 0 . 2   t o   1 0 0 . 0 ]   A m o u n t   o f   e f f e c t   y o u   w a n t . 
 
 
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                   C h r o m a t i c   A b e r r a t i o n   s e t t i n g s                               / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
 # d e f i n e   C h r o m a t i c _ s h i f t   f l o a t 2 ( 2 . 5 , - 0 . 5 )   / / [ - 1 0 0 . 0   t o   1 0 0 . 0 ,   - 1 0 0 . 0 0   t o   1 0 0 . 0 ]   D i s t a n c e   ( X , Y )   i n   p i x e l s   t o   s h i f t   t h e   c o l o r   c o m p o n e n t s . 
 
                                                                                   / / F o r   a   s l i g h t l y   b l u r r e d   l o o k   t r y   f r a c t i o n a l   v a l u e s   ( . 5 )   b e t w e e n   t w o   p i x e l s . 
 
 # d e f i n e   C h r o m a t i c _ s t r e n g t h       1 . 0                   / / A d j u s t   t h e   s t r e n g t h   o f   t h e   e f f e c t . 
 
 
 
 
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                             C a r t o o n   s e t t i n g s                                               / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
 # d e f i n e   C a r t o o n P o w e r                   1 . 5           / / [ 0 . 1   t o   1 0 . 0 ]   A m o u n t   o f   e f f e c t   y o u   w a n t . 
 
 # d e f i n e   C a r t o o n E d g e S l o p e           1 . 5           / / [ 0 . 1   t o   8 . 0 ]   R a i s e   t h i s   t o   f i l t e r   o u t   f a i n t e r   e d g e s .   Y o u   m i g h t   n e e d   t o   i n c r e a s e   t h e   p o w e r   t o   c o m p e n s a t e .   W h o l e   n u m b e r s   a r e   f a s t e r . 
 
 
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                         A d v a n c e d   C R T   s e t t i n g s                                       / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
 # d e f i n e   C R T A m o u n t                         1 . 0 0         / / [ 0 . 0 0   t o   1 . 0 0 ]     A m o u n t   o f   C R T   e f f e c t   y o u   w a n t 
 
 
 
 # d e f i n e   C R T R e s o l u t i o n                 2 . 0           / / [ 1 . 0   t o   8 . 0 ]         I n p u t   s i z e   c o e f f i c e n t   ( l o w   v a l u e s   g i v e s   t h e   " l o w - r e s   r e t r o   l o o k " ) .   D e f a u l t   i s   1 . 2 
 
 # d e f i n e   C R T g a m m a                           2 . 2           / / [ 0 . 0   t o   4 . 0 ]         G a m m a   o f   s i m u l a t e d   C R T   ( d e f a u l t   2 . 2 ) 
 
 # d e f i n e   C R T m o n i t o r g a m m a             2 . 4           / / [ 0 . 0   t o   4 . 0 ]         G a m m a   o f   d i s p l a y   m o n i t o r   ( t y p i c a l l y   2 . 2   i s   c o r r e c t ) 
 
 # d e f i n e   C R T B r i g h t n e s s                 1 . 2           / / [ 1 . 0   t o   3 . 0 ]         U s e d   t o   b o o s t   b r i g h t n e s s   a   l i t t l e .   D e f a u l t   i s   1 . 0 
 
 # d e f i n e   C R T S c a n l i n e I n t e n s i t y   2 . 0           / / [ 2 . 0   t o   4 . 0 ]         S c a n l i n e s   i n t e n s i t y   ( u s e   i n t e g e r   v a l u e s   p r e f e r a b l y ) .   D e f a u l t   i s   2 . 0 
 
 # d e f i n e   C R T S c a n l i n e G a u s s i a n     1               / / [ 0   o r   1 ]                 U s e   t h e   " n e w   n o n g a u s s i a n   s c a n l i n e s   b l o o m   e f f e c t " .   D e f a u l t   i s   o n 
 
 
 
 # d e f i n e   C R T C u r v a t u r e                   1               / / [ [ 0   o r   1 ]                     " B a r r e l   e f f e c t "   e n a b l e d   ( 1 )   o r   o f f   ( 0 ) 
 
 # d e f i n e   C R T C u r v a t u r e R a d i u s       2 . 0           / / [ 0 . 0   t o   2 . 0 ]               C u r v a t u r e   R a d i u s   ( o n l y   e f f e c t i v e   w h e n   C u r v a t u r e   i s   e n a b l e d ) .   D e f a u l t   i s   1 . 5 
 
 # d e f i n e   C R T C o r n e r S i z e                 0 . 0 1 0 0     / / [ 0 . 0 0 0 0   t o   0 . 0 0 2 0 ]   H i g h e r   v a l u e s ,   m o r e   r o u n d e d   c o r n e r .   D e f a u l t   i s   0 . 0 0 1 
 
 # d e f i n e   C R T D i s t a n c e                     2 . 0 0         / / [ 0 . 0 0   t o   4 . 0 0 ]           S i m u l a t e d   d i s t a n c e   f r o m   v i e w e r   t o   m o n i t o r .   D e f a u l t   i s   2 . 0 0 
 
 # d e f i n e   C R T A n g l e X                         0 . 0 0         / / [ - 0 . 2 0   t o   0 . 2 0 ]         T i l t   a n g l e   i n   r a d i a n s   ( X   c o o r d i n a t e s ) 
 
 # d e f i n e   C R T A n g l e Y                       - 0 . 1 5         / / [ - 0 . 2 0   t o   0 . 2 0 ]         T i l t   a n g l e   i n   r a d i a n s   ( Y   c o o r d i n a t e s ) .   ( V a l u e   o f   - 0 . 1 5   g i v e s   t h e   ' a r c a d e   t i l t '   l o o k ) 
 
 # d e f i n e   C R T O v e r S c a n                     1 . 0 0         / / [ 1 . 0 0   t o   1 . 1 0 ]           O v e r s c a n   ( e . g .   1 . 0 2   f o r   2 %   o v e r s c a n ) .   D e f a u l t   i s   1 . 0 1 
 
 # d e f i n e   C R T O v e r s a m p l e                 0               / / [ 0   o r   1 ]                       E n a b l e   3 x   o v e r s a m p l i n g   o f   t h e   b e a m   p r o f i l e   ( w a r n i n g   :   p e r f o r m a n c e   h i t ) 
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                                   P i x e l   A r t   C R T                                               / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
 
 
 / /   - -   E m u l a t e d   i n p u t   r e s o l u t i o n   - - 
 
 # d e f i n e   P i x e l A r t C R T _ r e s o l u t i o n _ m o d e   1   / / [ 1   o r   2 ]   1   =   R a t i o ,   2   =   F i x e d   r e s o l u t i o n 
 
 # d e f i n e   P i x e l A r t C R T _ r e s o l u t i o n _ r a t i o   ( 1 . 0 / 4 . 0 )       / / 
 
 # d e f i n e   P i x e l A r t C R T _ f i x e d _ r e s o l u t i o n   f l o a t 2 ( 3 2 0 . 0 , 1 6 0 . 0 )     / / 
 
 
 
 / /   - -   H a r d n e s s   - - 
 
 # d e f i n e   P i x e l A r t C R T _ h a r d S c a n   - 2 4 . 0     / /   H a r d n e s s   o f   s c a n l i n e   :   - 8 . 0   =   s o f t ,   - 1 6 . 0   =   m e d i u m 
 
 # d e f i n e   P i x e l A r t C R T _ h a r d P i x     - 2 4 . 0     / /   H a r d n e s s   o f   p i x e l s   i n   s c a n l i n e   :   - 2 . 0   =   s o f t ,   - 4 . 0   =   h a r d 
 
 
 
 / /   - -   D i s p l a y   w a r p   - - 
 
 # d e f i n e   P i x e l A r t C R T _ w a r p   f l o a t 2 ( 1 . 0 / 6 4 . 0 , 1 . 0 / 2 4 . 0 )   / /   D i s p l a y   w a r p   :   0 . 0   =   n o n e   ,   1 . 0 / 8 . 0   =   e x t r e m e 
 
 
 
 / /   - -   T y p e   o f   s h a d o w   m a s k   - - 
 
 # d e f i n e   P i x e l A r t C R T _ S h a d o w M a s k   3   / /   T y p e   o f   s h a d o w   m a s k   :   1   =   V e r y   c o m p r e s s e d   T V   s t y l e   s h a d o w   m a s k ,   2   =   A p e r t u r e - g r i l l e ,   3   =   S t r e t c h e d   V G A   s t y l e   s h a d o w   m a s k ,   4   =   V G A   s t y l e   s h a d o w   m a s k 
 
 
 
 / /   - -   A m o u n t   o f   s h a d o w   m a s k   - - 
 
 # d e f i n e   P i x e l A r t C R T _ m a s k D a r k     0 . 5   / / 
 
 # d e f i n e   P i x e l A r t C R T _ m a s k L i g h t   1 . 5   / / 
 
 
 
 / /   - -   F a l l o f f   s h a p e   - - 
 
 # d e f i n e   P i x e l A r t C R T _ s h a p e   3 . 0   / /   F a l l o f f   s h a p e   :   1 . 0   =   e x p ( x ) ,   1 . 2 5   =   i n   b e t w e e n ,   2 . 0     =   g a u s s i a n ,   3 . 0     =   m o r e   s q u a r e 
 
 
 
 / /   - -   A m p   s i g n a l   - - 
 
 # d e f i n e   P i x e l A r t C R T _ o v e r d r i v e   1 . 2 5   / / 
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                               B l o o m   s e t t i n g s                                                 / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
 # d e f i n e   B l o o m T h r e s h o l d             2 3 . 0 0         / / [ 0 . 0 0   t o   5 0 . 0 0 ]   T h r e s h o l d   f o r   w h a t   i s   a   b r i g h t   l i g h t   ( t h a t   c a u s e s   b l o o m )   a n d   w h a t   i s n ' t . 
 
 # d e f i n e   B l o o m P o w e r                       1 . 0 0 0       / / [ 0 . 0 0 0   t o   8 . 0 0 0 ]   S t r e n g t h   o f   t h e   b l o o m 
 
 # d e f i n e   B l o o m W i d t h                       0 . 0 1 4 2     / / [ 0 . 0 0 0 0   t o   1 . 0 0 0 0 ]   W i d t h   o f   t h e   b l o o m 
 
 
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                                 H D R   s e t t i n g s                                                   / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
 # d e f i n e   H D R P o w e r                           1 . 3 4         / / [ 0 . 0 0   t o   8 . 0 0 ]   S t r a n g e l y   l o w e r i n g   t h i s   m a k e s   t h e   i m a g e   b r i g h t e r 
 
 # d e f i n e   r a d i u s 2                             0 . 8 7         / / [ 0 . 0 0   t o   8 . 0 0 ]   R a i s i n g   t h i s   s e e m s   t o   m a k e   t h e   e f f e c t   s t r o n g e r   a n d   a l s o   b r i g h t e r 
 
 
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                           L u m a S h a r p e n   s e t t i n g s                                         / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
 / /   - -   S h a r p e n i n g   - - 
 
 # d e f i n e   s h a r p _ s t r e n g t h   0 . 7 6       / / [ 0 . 1 0   t o   3 . 0 0 ]   S t r e n g t h   o f   t h e   s h a r p e n i n g 
 
 # d e f i n e   s h a r p _ c l a m p         0 . 0 3 5     / / [ 0 . 0 0 0   t o   1 . 0 0 0 ]   L i m i t s   m a x i m u m   a m o u n t   o f   s h a r p e n i n g   a   p i x e l   r e c i e v e s   -   D e f a u l t   i s   0 . 0 3 5 
 
 
 
 / /   - -   A d v a n c e d   s h a r p e n i n g   s e t t i n g s   - - 
 
 # d e f i n e   p a t t e r n   1                 / / [ 1 | 2 | 3 | 4 ]   C h o o s e   a   s a m p l e   p a t t e r n .   1   =   F a s t ,   2   =   N o r m a l ,   3   =   W i d e r ,   4   =   P y r a m i d   s h a p e d . 
 
 # d e f i n e   o f f s e t _ b i a s   1 . 0     / / [ 0 . 0   t o   6 . 0 ]   O f f s e t   b i a s   a d j u s t s   t h e   r a d i u s   o f   t h e   s a m p l i n g   p a t t e r n . 
 
                                                   / / I   d e s i g n e d   t h e   p a t t e r n   f o r   o f f s e t _ b i a s   1 . 0 ,   b u t   f e e l   f r e e   t o   e x p e r i m e n t . 
 
 
 
 / /   - -   D e b u g   s h a r p e n i n g   s e t t i n g s   - - 
 
 # d e f i n e   s h o w _ s h a r p e n   0       / / [ 0   o r   1 ]   V i s u a l i z e   t h e   s t r e n g t h   o f   t h e   s h a r p e n   ( m u l t i p l i e d   b y   4   t o   s e e   i t   b e t t e r ) 
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                             N o t a l g i a   s e t t i n g s                                           / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
 / / N o t h i n g   h e r e   y e t ,   b u t   y o u   w i l l   g e t   t o   s e t   t h e   p a l e t t e   t o   u s e   a n d   t o g g l e   d i t h e r i n g ,   a n d   m a y b e   p i x e l a t e   t h e   i m a g e   . .   o n c e   t h e   e f f e c t   i s   d o n e . 
 
 / / F o r   n o w   i t   j u s t   d i s p l a y s   t h e   i m a g e   w i t h   a   C 6 4   p a l e t t e 
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                               L e v e l s   s e t t i n g s                                             / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
 # d e f i n e   L e v e l s _ b l a c k _ p o i n t   1 6           / / [ 0   t o   2 5 5 ]   T h e   b l a c k   p o i n t   i s   t h e   n e w   b l a c k   -   l i t e r a l l y .   E v e r y t h i n g   d a r k e r   t h a n   t h i s   w i l l   b e c o m e   c o m p l e t e l y   b l a c k .   D e f a u l t   i s   1 6 . 0 
 
 # d e f i n e   L e v e l s _ w h i t e _ p o i n t   2 3 5         / / [ 0   t o   2 5 5 ]   T h e   n e w   w h i t e   p o i n t .   E v e r y t h i n g   b r i g h t e r   t h a n   t h i s   b e c o m e s   c o m p l e t e l y   w h i t e .   D e f a u l t   i s   2 3 5 . 0 
 
 
 
 / / C o l o r s   b e t w e e n   t h e   t w o   p o i n t s   w i l l   s t r e t c h e d ,   w h i c h   i n c r e a s e s   c o n t r a s t ,   b u t   d e t a i l s   a b o v e   a n d   b e l o w   t h e   p o i n t s   a r e   l o s t   ( t h i s   i s   c a l l e d   c l i p p i n g ) . 
 
 
 
 / /   - -   D e b u g   s e t t i n g s   - - 
 
 # d e f i n e   L e v e l s _ h i g h l i g h t _ c l i p p i n g   0   / / [ 0   o r   1 ]   H i g h l i g h t   t h e   p i x e l s   t h a t   c l i p .   R e d   =   S o m e   d e t a i l   i s   l o s t   i n   t h e   h i g h l i g h t s ,   Y e l l o w   =   A l l   d e t a i l   i s   l o s t   i n   t h e   h i g h l i g h t s , 
 
                                                                         / /                   B l u e   =   S o m e   d e t a i l   i s   l o s t   i n   t h e   s h a d o w s ,   C y a n   =   A l l   d e t a i l   i s   l o s t   i n   t h e   s h a d o w s . 
 
 
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                             T E C H N I C O L O R   s e t t i n g s                                       / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
 # d e f i n e   T e c h n i A m o u n t                 0 . 4 0   / / [ 0 . 0 0   t o   1 . 0 0 ] 
 
 # d e f i n e   T e c h n i P o w e r                   4 . 0 0   / / [ 0 . 0 0   t o   8 . 0 0 ] 
 
 # d e f i n e   r e d N e g a t i v e A m o u n t       0 . 8 8   / / [ 0 . 0 0   t o   1 . 0 0 ] 
 
 # d e f i n e   g r e e n N e g a t i v e A m o u n t   0 . 8 8   / / [ 0 . 0 0   t o   1 . 0 0 ] 
 
 # d e f i n e   b l u e N e g a t i v e A m o u n t     0 . 8 8   / / [ 0 . 0 0   t o   1 . 0 0 ] 
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                           T E C H N I C O L O R   2   s e t t i n g s                                     / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
 # d e f i n e   T e c h n i c o l o r 2 _ R e d _ S t r e n g t h   	 0 . 2 	 	 / / [ 0 . 0 5   t o   1 . 0 ]   C o l o r   S t r e n g t h   o f   R e d   c h a n n e l .   H i g h e r   m e a n s   d a r k e r   a n d   m o r e   i n t e n s e   c o l o r s . 	 
 
 # d e f i n e   T e c h n i c o l o r 2 _ G r e e n _ S t r e n g t h   0 . 2 	 	 / / [ 0 . 0 5   t o   1 . 0 ]   C o l o r   S t r e n g t h   o f   G r e e n   c h a n n e l .   H i g h e r   m e a n s   d a r k e r   a n d   m o r e   i n t e n s e   c o l o r s . 
 
 # d e f i n e   T e c h n i c o l o r 2 _ B l u e _ S t r e n g t h   	 0 . 2 	 	 / / [ 0 . 0 5   t o   1 . 0 ]   C o l o r   S t r e n g t h   o f   B l u e   c h a n n e l .   H i g h e r   m e a n s   d a r k e r   a n d   m o r e   i n t e n s e   c o l o r s . 
 
 # d e f i n e   T e c h n i c o l o r 2 _ B r i g h t n e s s   	     1 . 0 	 	 / / [ 0 . 5   t o   1 . 5 ]   B r i g h t n e s s   A d j u s t m e n t ,   h i g h e r   m e a n s   b r i g h t e r   i m a g e . 
 
 # d e f i n e   T e c h n i c o l o r 2 _ S t r e n g t h   	 	     1 . 0 	 	 / / [ 0 . 0   t o   1 . 0 ]   S t r e n g t h   o f   T e c h n i c o l o r   e f f e c t .   0 . 0   m e a n s   o r i g i n a l   i m a g e . 
 
 # d e f i n e   T e c h n i c o l o r 2 _ S a t u r a t i o n     	     0 . 7 	 	 / / [ 0 . 0   t o   1 . 5 ]   A d d i t i o n a l   s a t u r a t i o n   c o n t r o l   s i n c e   t e c h n i c o l o r   t e n d s   t o   o v e r s a t u r a t e   t h e   i m a g e . 
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                               C i n e o n   D P X   s e t t i n g s                                       / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
 # d e f i n e   R e d       8 . 0     / / [ 1 . 0   t o   1 5 . 0 ] 
 
 # d e f i n e   G r e e n   8 . 0     / / [ 1 . 0   t o   1 5 . 0 ] 
 
 # d e f i n e   B l u e     8 . 0     / / [ 1 . 0   t o   1 5 . 0 ] 
 
 
 
 # d e f i n e   C o l o r G a m m a         2 . 5     / / [ 0 . 1   t o   2 . 5 ]   A d j u s t s   t h e   c o l o r f u l n e s s   o f   t h e   e f f e c t   i n   a   m a n n e r   s i m i l a r   t o   V i b r a n c e .   1 . 0   i s   n e u t r a l . 
 
 # d e f i n e   D P X S a t u r a t i o n   3 . 0     / / [ 0 . 0   t o   8 . 0 ]   A d j u s t   s a t u r a t i o n   o f   t h e   e f f e c t .   1 . 0   i s   n e u t r a l . 
 
 
 
 # d e f i n e   R e d C       0 . 3 6     / / [ 0 . 6 0   t o   0 . 2 0 ] 
 
 # d e f i n e   G r e e n C   0 . 3 6     / / [ 0 . 6 0   t o   0 . 2 0 ] 
 
 # d e f i n e   B l u e C     0 . 3 4     / / [ 0 . 6 0   t o   0 . 2 0 ] 
 
 
 
 # d e f i n e   B l e n d   0 . 2         / / [ 0 . 0 0   t o   1 . 0 0 ]   H o w   s t r o n g   t h e   e f f e c t   s h o u l d   b e . 
 
 
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                               M o n o c h r o m e   s e t t i n g s                                         / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
 # d e f i n e   M o n o c h r o m e _ c o n v e r s i o n _ v a l u e s   f l o a t 3 ( 0 . 2 1 ,   0 . 7 2 ,   0 . 0 7 )   / / [ 0 . 0 0   t o   1 . 0 0 ]   P e r c e n t a g e   o f   R G B   t o   i n c l u d e   ( s h o u l d   s u m   u p   t o   1 . 0 0 ) 
 
 # d e f i n e   M o n o c h r o m e _ c o l o r _ s a t u r a t i o n                   0 . 0 0                         / / [ 0 . 0 0   t o   2 . 0 0 ]   P e r c e n t a g e   o f   s a t u r a t i o n   t o   k e e p .   D e f a u l t   i s   0 . 0 0   ,   v a l u e s   a b o v e   1 . 0 0   b o o s t   s a t u r a t i o n   a b o v e   n o r m a l . 
 
 
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                             C o l o r   M a t r i x   s e t t i n g s                                     / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
                                                             / /     R e d       G r e e n       B l u e 
 
 # d e f i n e   C o l o r M a t r i x _ R e d       f l o a t 3 ( 0 . 8 1 7 ,   0 . 1 8 3 ,   0 . 0 0 0 )   / / [ 0 . 0 0   t o   1 . 0 0 ]   H o w   m u c h   o f   R e d ,   G r e e n   a n d   B l u e   t h e   n e w   r e d   v a l u e   s h o u l d   c o n t a i n       -   S h o u l d   s u m   t o   1 . 0 0 0   i f   y o u   d o n ' t   w i s h   t o   c h a n g e   t h e   b r i g h t n e s s 
 
 # d e f i n e   C o l o r M a t r i x _ G r e e n   f l o a t 3 ( 0 . 3 3 3 ,   0 . 6 6 7 ,   0 . 0 0 0 )   / / [ 0 . 0 0   t o   1 . 0 0 ]   H o w   m u c h   o f   R e d ,   G r e e n   a n d   B l u e   t h e   n e w   g r e e n   v a l u e   s h o u l d   c o n t a i n   -   S h o u l d   s u m   t o   1 . 0 0 0   i f   y o u   d o n ' t   w i s h   t o   c h a n g e   t h e   b r i g h t n e s s 
 
 # d e f i n e   C o l o r M a t r i x _ B l u e     f l o a t 3 ( 0 . 0 0 0 ,   0 . 1 2 5 ,   0 . 8 7 5 )   / / [ 0 . 0 0   t o   1 . 0 0 ]   H o w   m u c h   o f   R e d ,   G r e e n   a n d   B l u e   t h e   n e w   b l u e   v a l u e   s h o u l d   c o n t a i n     -   S h o u l d   s u m   t o   1 . 0 0 0   i f   y o u   d o n ' t   w i s h   t o   c h a n g e   t h e   b r i g h t n e s s 
 
 
 
 # d e f i n e   C o l o r M a t r i x _ s t r e n g t h   1 . 0                                             / / A d j u s t   t h e   s t r e n g t h 
 
 
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                             L i f t   G a m m a   G a i n   s e t t i n g s                               / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
 # d e f i n e   R G B _ L i f t     f l o a t 3 ( 1 . 0 0 0 ,   1 . 0 0 0 ,   1 . 0 0 0 )     / / [ 0 . 0 0 0   t o   2 . 0 0 0 ]   A d j u s t   s h a d o w s   f o r   R e d ,   G r e e n   a n d   B l u e . 
 
 # d e f i n e   R G B _ G a m m a   f l o a t 3 ( 1 . 0 0 0 ,   1 . 0 0 0 ,   1 . 0 0 0 )     / / [ 0 . 0 0 0   t o   2 . 0 0 0 ]   A d j u s t   m i d t o n e s   f o r   R e d ,   G r e e n   a n d   B l u e 
 
 # d e f i n e   R G B _ G a i n     f l o a t 3 ( 1 . 0 0 0 ,   1 . 0 0 0 ,   1 . 0 0 0 )     / / [ 0 . 0 0 0   t o   2 . 0 0 0 ]   A d j u s t   h i g h l i g h t s   f o r   R e d ,   G r e e n   a n d   B l u e 
 
 
 
 / / N o t e   t h a t   a   v a l u e   o f   1 . 0 0 0   i s   a   n e u t r a l   s e t t i n g   t h a t   l e a v e   t h e   c o l o r   u n c h a n g e d . 
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                                 T o n e m a p   s e t t i n g s                                           / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
 # d e f i n e   G a m m a               1 . 0 0 0     / / [ 0 . 0 0 0   t o   2 . 0 0 0 ]   A d j u s t   m i d t o n e s .   1 . 0 0 0   i s   n e u t r a l .   T h i s   s e t t i n g   d o e s   e x a c t l y   t h e   s a m e   a s   t h e   o n e   i n   L i f t   G a m m a   G a i n ,   o n l y   w i t h   l e s s   c o n t r o l . 
 
 
 
 # d e f i n e   E x p o s u r e         0 . 0 0 0     / / [ - 1 . 0 0 0   t o   1 . 0 0 0 ]   A d j u s t   e x p o s u r e 
 
 
 
 # d e f i n e   S a t u r a t i o n     0 . 0 0 0     / / [ - 1 . 0 0 0   t o   1 . 0 0 0 ]   A d j u s t   s a t u r a t i o n 
 
 
 
 # d e f i n e   B l e a c h             0 . 0 0 0     / / [ 0 . 0 0 0   t o   1 . 0 0 0 ]   B r i g h t e n s   t h e   s h a d o w s   a n d   f a d e s   t h e   c o l o r s 
 
 
 
 # d e f i n e   D e f o g               0 . 0 0 0     / / [ 0 . 0 0 0   t o   1 . 0 0 0 ]   H o w   m u c h   o f   t h e   c o l o r   t i n t   t o   r e m o v e 
 
 # d e f i n e   F o g C o l o r   f l o a t 3 ( 0 . 0 0 ,   0 . 0 0 ,   2 . 5 5 )   / / [ 0 . 0 0   t o   2 . 5 5 ,   0 . 0 0   t o   2 . 5 5 ,   0 . 0 0   t o   2 . 5 5 ]   W h a t   c o l o r   t o   r e m o v e   -   d e f a u l t   i s   b l u e 
 
 
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                               V i b r a n c e   s e t t i n g s                                           / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
 # d e f i n e   V i b r a n c e           0 . 4 5     / / [ - 1 . 0 0   t o   1 . 0 0 ]   I n t e l l i g e n t l y   s a t u r a t e s   ( o r   d e s a t u r a t e s   i f   y o u   u s e   n e g a t i v e   v a l u e s )   t h e   p i x e l s   d e p e n d i n g   o n   t h e i r   o r i g i n a l   s a t u r a t i o n . 
 
 # d e f i n e   V i b r a n c e _ R G B _ b a l a n c e   f l o a t 3 ( 1 . 0 0 ,   1 . 0 0 ,   1 . 0 0 )   / / [ - 1 0 . 0 0   t o   1 0 . 0 0 , - 1 0 . 0 0   t o   1 0 . 0 0 , - 1 0 . 0 0   t o   1 0 . 0 0 ]   A   p e r   c h a n n e l   m u l t i p l i e r   t o   t h e   V i b r a n c e   s t r e n g t h   s o   y o u   c a n   g i v e   m o r e   b o o s t   t o   c e r t a i n   c o l o r s   o v e r   o t h e r s 
 
 
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                                 C u r v e s   s e t t i n g s                                             / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
 # d e f i n e   C u r v e s _ m o d e                 2   / / [ 0 | 1 | 2 ]   C h o o s e   w h a t   t o   a p p l y   c o n t r a s t   t o .   0   =   L u m a ,   1   =   C h r o m a ,   2   =   b o t h   L u m a   a n d   C h r o m a .   D e f a u l t   i s   0   ( L u m a ) 
 
 # d e f i n e   C u r v e s _ c o n t r a s t   0 . 1 5   / / [ - 1 . 0 0   t o   1 . 0 0 ]   T h e   a m o u n t   o f   c o n t r a s t   y o u   w a n t 
 
 
 
 / /   - -   A d v a n c e d   c u r v e   s e t t i n g s   - - 
 
 # d e f i n e   C u r v e s _ f o r m u l a           2   / / [ 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 1 0 | 1 1 ]   T h e   c o n t r a s t   s - c u r v e   y o u   w a n t   t o   u s e . 
 
                                                           / / 1   =   S i n e ,   2   =   A b s   s p l i t ,   3   =   S m o o t h s t e p ,   4   =   E x p   f o r m u l a ,   5   =   S i m p l i f i e d   C a t m u l l - R o m   ( 0 , 0 , 1 , 1 ) ,   6   =   P e r l i n s   S m o o t h e r s t e p 
 
                                                           / / 7   =   A b s   a d d ,   8   =   T e c h i c o l o r   C i n e s t y l e ,   9   =   P a r a b o l a ,   1 0   =   H a l f - c i r c l e s .   1 1   =   P o l y n o m i a l   s p l i t . 
 
                                                           / / N o t e   t h a t   T e c h n i c o l o r   C i n e s t y l e   i s   p r a c t i c a l l y   i d e n t i c a l   t o   S i n e ,   b u t   r u n s   s l o w e r .   I n   f a c t   I   t h i n k   t h e   d i f f e r e n c e   m i g h t   o n l y   b e   d u e   t o   r o u n d i n g   e r r o r s . 
 
                                                           / / I   p r e f e r   2   m y s e l f ,   b u t   3   i s   a   n i c e   a l t e r n a t i v e   w i t h   a   l i t t l e   m o r e   e f f e c t   ( b u t   h a r s h e r   o n   t h e   h i g h l i g h t   a n d   s h a d o w s )   a n d   i t ' s   t h e   f a s t e s t   f o r m u l a . 
 
 
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                                 S e p i a   s e t t i n g s                                               / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
 # d e f i n e   C o l o r T o n e   f l o a t 3 ( 1 . 4 0 ,   1 . 1 0 ,   0 . 9 0 )   / / [ 0 . 0 0   t o   2 . 5 5 ,   0 . 0 0   t o   2 . 5 5 ,   0 . 0 0   t o   2 . 5 5 ]   W h a t   c o l o r   t o   t i n t   t h e   i m a g e 
 
 # d e f i n e   G r e y P o w e r     0 . 1 1                                         / / [ 0 . 0 0   t o   1 . 0 0 ]   H o w   m u c h   d e s a t u r a t e   t h e   i m a g e   b e f o r e   t i n t i n g   i t 
 
 # d e f i n e   S e p i a P o w e r   0 . 5 8                                         / / [ 0 . 0 0   t o   1 . 0 0 ]   H o w   m u c h   t o   t i n t   t h e   i m a g e 
 
 
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                             D a l t o n i z e   s e t t i n g s                                           / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
 # d e f i n e   D a l t o n i z e _ t y p e   1         / / [ 1 | 2 | 3 ]   T y p e   o f   c o l o r b l i n d n e s s .   1   =   P r o t a n o p i a   ( m i s s i n g   r e d   s p e c t r u m ) ,   2   =   D e u t e r a n o p i a   ( m i s s i n g   g r e e n   s p e c t r u m ) ,   3   =   T r i t a n o p i a   ( m i s s i n g   b l u e   s p e c t r u m ) 
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                             F i l m   G r a i n   s e t t i n g s                                         / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
 # d e f i n e   F i l m G r a i n _ i n t e n s i t y   0 . 5 0   / / [ 0 . 0 0   t o   1 . 0 0 ]   H o w   v i s i b l e   t h e   g r a i n   i s .   H i g h e r   i s   m o r e   v i s i b l e . 
 
 # d e f i n e   F i l m G r a i n _ v a r i a n c e     0 . 4 0   / / [ 0 . 0 0   t o   1 . 0 0 ]   C o n t r o l s   t h e   v a r i a n c e   o f   t h e   g a u s s i a n   n o i s e .   L o w e r   v a l u e s   l o o k   s m o o t h e r . 
 
 # d e f i n e   F i l m G r a i n _ S N R                     6   / / [ 0   t o   1 6 ]   H i g h e r   S i g n a l - t o - N o i s e   R a t i o   v a l u e s   g i v e   l e s s   g r a i n   t o   b r i g h t e r   p i x e l s .   0   d i s a b l e s   t h i s   f e a t u r e . 
 
 
 
 / /   - -   A d v a n c e d   F i l m   G r a i n   s e t t i n g s   - - 
 
 # d e f i n e   F i l m G r a i n _ m e a n           0 . 5 0   / / [ 0 . 0 0   t o   1 . 0 0 ]   T h e   a v e r a g e   m e a n   o f   t h e   g a u s s i a n   n o i s e .   P r o b a b l y   b e s t   k e p t   a t   t h e   m i d d l e   v a l u e   ( 0 . 5 0 ) 
 
 
 
 / / A   s i d e e f f e c t   o f   t h e   F i l m   G r a i n   e f f e c t   i s   t h a t   i t   a l s o   d i t h e r s   t h e   s c r e e n . 
 
 / / Y o u   d o n ' t   n e e d   b o t h   t h e   F i l m   G r a i n   a n d   t h e   D i t h e r   e f f e c t   e n a b l e d   a t   t h e   s a m e   t i m e . 
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                               V i g n e t t e   s e t t i n g s                                           / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
 # d e f i n e   V i g n e t t e T y p e               1     / / [ 1 | 2 | 3 ]   1   =   O r i g i n a l ,   2   =   N e w ,   3   =   T V   s t y l e 
 
 # d e f i n e   V i g n e t t e R a t i o       1 . 0 0     / / [ 0 . 1 5   t o   6 . 0 0 ]     S e t s   a   w i d t h   t o   h e i g h t   r a t i o .   1 . 0 0   ( 1 / 1 )   i s   p e r f e c t l y   r o u n d ,   w h i l e   1 . 6 0   ( 1 6 / 1 0 )   i s   6 0   %   w i d e r   t h a n   i t ' s   h i g h . 
 
 # d e f i n e   V i g n e t t e R a d i u s     1 . 0 0     / / [ - 1 . 0 0   t o   3 . 0 0 ]   l o w e r   v a l u e s   =   s t r o n g e r   r a d i a l   e f f e c t   f r o m   c e n t e r 
 
 # d e f i n e   V i g n e t t e A m o u n t   - 1 . 0 0     / / [ - 2 . 0 0   t o   1 . 0 0 ]   S t r e n g t h   o f   b l a c k .   - 2 . 0 0   =   M a x   B l a c k ,   1 . 0 0   =   M a x   W h i t e . 
 
 # d e f i n e   V i g n e t t e S l o p e             2     / / [ 2   t o   1 6 ]   H o w   f a r   a w a y   f r o m   t h e   c e n t e r   t h e   c h a n g e   s h o u l d   s t a r t   t o   r e a l l y   g r o w   s t r o n g   ( o d d   n u m b e r s   c a u s e   a   l a r g e r   f p s   d r o p   t h a n   e v e n   n u m b e r s ) 
 
 # d e f i n e   V i g n e t t e C e n t e r   f l o a t 2 ( 0 . 5 0 0 ,   0 . 5 0 0 )     / / [ 0 . 0 0 0   t o   1 . 0 0 0 ,   0 . 0 0 0   t o   1 . 0 0 0 ]   C e n t e r   o f   e f f e c t   f o r   V i g n e t t e T y p e   1 .   2   a n d   3   d o   n o t   o b e y   t h i s   s e t t i n g . 
 
 
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                                 D i t h e r   s e t t i n g s                                             / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
 # d e f i n e   d i t h e r _ m e t h o d             1     / / [ 1   o r   2 ]   1   =   O r d e r e d   d i t h e r i n g   ( v e r y   g o o d   a n d   v e r y   f a s t ) ,   2   =   R a n d o m   d i t h e r i n g   ( d i f f e r e n t   b u t   s l i g h t l y   s l o w e r   d i t h e r i n g ) 
 
 
 
 / / N o t e   t h a t   t h e   p a t t e r n s   u s e d   b y   D i t h e r ,   m a k e s   a n   i m a g e   h a r d e r   t o   c o m p r e s s . 
 
 / / T h i s   c a n   m a k e   y o u r   s c r e e n s h o t s   a n d   v i d e o   r e c o r d i n g s   t a k e   u p   m o r e   s p a c e . 
 
 
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                                 B o r d e r   s e t t i n g s                                             / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
 # d e f i n e   b o r d e r _ w i d t h   f l o a t 2 ( 0 , 1 )                 / / [ 0   t o   2 0 4 8 ,   0   t o   2 0 4 8 ]   ( X , Y ) - w i d t h   o f   t h e   b o r d e r .   M e a s u r e d   i n   p i x e l s .   I f   t h i s   i s   s e t   t o   0 , 0   t h e n   t h e   b o r d e r _ r a t i o   w i l l   b e   u s e d   i n s t e a d 
 
 # d e f i n e   b o r d e r _ r a t i o   f l o a t ( 2 . 3 5   /   1 . 0 )     / / [ 0 . 1 0 0 0   t o   1 0 . 0 0 0 0 ]   S e t   t h e   d e s i r e d   r a t i o   f o r   t h e   v i s i b l e   a r e a .   Y o u   M U S T   u s e   f l o a t i n g   p o i n t   -   I n t e g e r s   d o   n o t   w o r k   r i g h t . 
 
                                                                                 / / E x a m p l e s   t h a t   w o r k :   ( 1 6 8 0 . 0   /   1 0 5 0 . 0 ) ,   ( 1 6 . 0   /   1 0 . 0 ) ,   ( 1 . 6 )   E x a m p l e s   t h a t   d o e s   N O T   w o r k   r i g h t :   ( 1 6 8 0   /   1 0 5 0 ) ,   ( 1 6   /   1 0 ) 
 
 # d e f i n e   b o r d e r _ c o l o r   f l o a t 3 ( 1 8 0 ,   0 ,   0 )     / / [ 0   t o   2 5 5 ,   0   t o   2 5 5 ,   0   t o   2 5 5 ]   W h a t   c o l o r   t h e   b o r d e r   s h o u l d   b e .   I n   i n t e g e r   R G B   c o l o r s ,   m e a n i n g   0 , 0 , 0   i s   b l a c k   a n d   2 5 5 , 2 5 5 , 2 5 5   i s   f u l l   w h i t e . 
 
 
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                           S p l i t s c r e e n   s e t t i n g s                                         / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
 # d e f i n e   s p l i t s c r e e n _ m o d e       1     / / [ 1 | 2 | 3 | 4 | 5 | 6 ]     1   =   V e r t i c a l   5 0 / 5 0   s p l i t ,   2   =   V e r t i c a l   2 5 / 5 0 / 2 5   s p l i t ,   3   =   V e r t i c a l   5 0 / 5 0   a n g l e d   s p l i t ,   4   =   H o r i z o n t a l   5 0 / 5 0   s p l i t ,   5   =   H o r i z o n t a l   2 5 / 5 0 / 2 5   s p l i t ,   6   =   C u r v y   v e r t i c a l   5 0 / 5 0   s p l i t 
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                                     T r a n s i t i o n                                                   / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
     
 
 # d e f i n e   T r a n s i t i o n _ t i m e                         5 0 0 0     / / [ 1   t o   6 0 0 0 0 ]   M i l l i s e c o n d s   t h e   t r a n s i t i o n   l a s t s   ( 1 0 0 0   m i l l i s e c o n d s   i s   1   s e c o n d ) 
 
 # d e f i n e   T r a n s i t i o n _ t e x t u r e   " W i n n e r s _ D o n t _ U s e _ D r u g s . p n g "   / / [ " f i l e n a m e " ]   F i l e n a m e   f o r   t h e   t e x t u r e   t o   u s e .   P u t   y o u r   c u s t o m   t e x t u r e s   i n   S w e e t F X / T e x t u r e s / 
 
 # d e f i n e   T r a n s i t i o n _ t e x t u r e _ w i d t h         7 2 0     / / I m a g e   w i d t h . 
 
 # d e f i n e   T r a n s i t i o n _ t e x t u r e _ h e i g h t       4 8 0     / / I m a g e   h e i g h t . 
 
 # d e f i n e   T r a n s i t i o n _ t y p e           I m a g e F a d e O u t   / / C a n   b e   " F a d e I n " ,   " F a d e O u t " ,   " C u r t a i n O p e n " ,   " C u r t a i n C l o s e "   o r   " I m a g e F a d e O u t " 
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                                         D e p t h                                                         / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
 # d e f i n e   D e p t h _ z _ n e a r                               0 . 0 1       / / [ 0 . 0 0 0 0 1   t o   1 0 0 0 0 0 . 0 ]   C a m e r a   z   n e a r 
 
 # d e f i n e   D e p t h _ z _ f a r                             1 0 0 . 0 0       / / [ 0 . 0 0 0 0 1   t o   1 0 0 0 0 0 . 0 ]   C a m e r a   z   f a r ,   m u s t   b e   f u r t h e r   t h a n   t h e   n e a r   v a l u e . 
 
 
 
       / * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . 
 
     /                                               C u s t o m   s e t t i n g s                                               / 
 
     ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * / 
 
 # d e f i n e   c u s t o m _ s t r e n g t h     1 . 1   / / [ 0 . 0 0   t o   1 . 0 0 ]   A d j u s t   t h e   s t r e n g t h   o f   t h e   e f f e c t 
 
 