<SHADER>
    <NAME>"debug_00"</NAME>
    
    <PASS>

    <TEXTURE>"debug_00.tga"</TEXTURE>   

    <CULL>
         "CULL_NONE"
    </CULL>

    <COLOR> 
      <OP>
      "PO_MODULATE"
      </OP>
      <ARG1>
      "PA_TFACTOR"
      </ARG1>                  
      <ARG2>
      "PA_TEXTURE"
      </ARG2>                  
	</COLOR>

    <ALPHA> 
      <OP>
      "PO_SELECTARG1"
      </OP>
      <ARG1>
      "PA_TEXTURE"
      </ARG1>                  
	</ALPHA>

    <TFACTORCOLOR>
        <WAVE>
        <TYPE>"WF_CONSTANT"</TYPE>
        <BASE>1.0f</BASE>        
        </WAVE>
    </TFACTORCOLOR>


    <BLEND>
	    <SRC>
	    "BL_SRCALPHA"
	    </SRC>
	    <DST>
	    "BL_INVSRCALPHA"
	    </DST>
	</BLEND>

    </PASS>
</SHADER>


<SHADER>
    <NAME>"cubi"</NAME>
    <PASS>
    	<CULL>
    	"CULL_NONE"
    	</CULL>
     	<FILLMODE>
	"WIREFRAME"
 	</FILLMODE>
    	<COLOR>
		<OP> 
		"PO_SELECTARG1" 
	        </OP> 
	        <ARG1>
	        "PA_TFACTOR" 
	        </ARG1> 
        </COLOR>
	<TFACTORCOLOR>
		<RGB> 0.5f 0.2f 0.0f</>
	</>
  	<BLEND> 
     	<SRC> 
     	"BL_ONE"  
     	</SRC> 
     	<DST> 
     	"BL_ONE"  
     	</DST>      
   	</BLEND> 
<NOZWRITE></>     
    </PASS>	
	
</SHADER>

<SHADER>
    <NAME>"white"</NAME>
<comment>
    <PASS>
    	<CULL>
    	"CULL_NONE"
    	</CULL>
     	<FILLMODE>
	"WIREFRAME"
 	</FILLMODE>
    	<COLOR>
		<OP> 
		"PO_SELECTARG1" 
	        </OP> 
	        <ARG1>
	        "PA_TFACTOR" 
	        </ARG1> 
        </COLOR>
	<TFACTORCOLOR>
		<RGB> 0.5f 0.2f 0.0f</>
	</>
  	<BLEND> 
     	<SRC> 
     	"BL_ONE"  
     	</SRC> 
     	<DST> 
     	"BL_ONE"  
     	</DST>      
   	</BLEND> 
<NOZWRITE></>     
    </PASS>
</comment>
    <PASS>
    	<CULL>
    	"CULL_NONE"
    	</CULL>
    	<COLOR>
		<OP> 
		"PO_SELECTARG1" 
	        </OP> 
	        <ARG1>
	        "PA_TFACTOR" 
	        </ARG1> 
        </COLOR>
	<TFACTORCOLOR>
		<RGB> 0.2f 0.2f 0.3f</>
	</>
  	<BLEND> 
     	<SRC> 
     	"BL_ONE"  
     	</SRC> 
     	<DST> 
     	"BL_ONE"  
     	</DST>      
   	</BLEND> 
<NOZWRITE></>     
    </PASS>	
	
</SHADER>

<SHADER>
    <NAME>"black"</NAME>
    <PASS>
    	<CULL>
    	"CULL_NONE"
    	</CULL>
    	<COLOR>
		<OP> 
		"PO_SELECTARG1" 
	        </OP> 
	        <ARG1>
	        "PA_TFACTOR" 
	        </ARG1> 
        </COLOR>
	<TFACTORCOLOR>
	<RGB> 0.2f 0.2f 0.2f</>
	</>
	<BLEND> 
     	<SRC> 
     	"BL_ONE"  
     	</SRC> 
     	<DST> 
     	"BL_ONE"  
     	</DST>      
   	</BLEND> 
<NOZWRITE></>     
    </PASS>	
    <PASS>
    	<CULL>
    	"CULL_NONE"
    	</CULL>
     	<FILLMODE>
	"WIREFRAME"
 	</FILLMODE>
    	<COLOR>
		<OP> 
		"PO_SELECTARG1" 
	        </OP> 
	        <ARG1>
	        "PA_TFACTOR" 
	        </ARG1> 
        </COLOR>
	<TFACTORCOLOR>
		<RGB> 0.0f 0.0f 0.0f</>
	</> 
    </PASS>	
</SHADER>