<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>"wire_white"</NAME>
    <PASS>
     	<FILLMODE>
	"WIREFRAME"
 	</FILLMODE>
    	<COLOR>
		<OP> 
		"PO_SELECTARG1" 
	        </OP> 
	        <ARG1>
	        "PA_TFACTOR" 
	        </ARG1> 
        </COLOR>
	<TFACTORCOLOR>
		<RGB> 0.1f 0.1f 0.1f</>
	</>
<NOZWRITE></>    
    <CULL> 
         "CULL_NONE" 
    </CULL> 	
    </PASS>	
</SHADER>

<SHADER>
    <NAME>"flare"</NAME>
    <SPRITELIST>5.0f</>
    <PASS>
        <TEXTURE>"flare"</TEXTURE>
  	<BLEND> 
     	<SRC> 
     	"BL_ONE"  
     	</SRC> 
     	<DST> 
     	"BL_ONE"  
     	</DST>      
   	</BLEND> 
      <NOZWRITE></>     
    </PASS>	
</SHADER>

<SHADER> 
  <NAME>"particle"</NAME> 
  <PASS> 
        <TEXTURE>"particle"</TEXTURE>    
    <NOZWRITE></> 
    <CULL> 
         "CULL_NONE" 
    </CULL> 
  <BLEND> 
     <SRC> 
     "BL_ONE"  
     </SRC> 
     <DST> 
     "BL_ONE"  
     </DST>      
   </BLEND> 
  </PASS> 
</>

<SHADER>
    <NAME>"envi"</NAME>
    <PASS>
     	<FILLMODE>
	"WIREFRAME"
 	</FILLMODE>
    	<COLOR>
		<OP> 
		"PO_SELECTARG1" 
	        </OP> 
	        <ARG1>
	        "PA_TFACTOR" 
	        </ARG1> 
        </COLOR>
	<TFACTORCOLOR>
		<RGB> 0.5f 0.5f 0.5f</>
	</>
<NOZWRITE></>     
    </PASS>	
    <PASS>
        <TEXTURE>"envi"</TEXTURE>   
        <TEXGEN>
            <TYPE>
            "TG_SPHEREREFLECTION"
            </TYPE>
        </TEXGEN>
        
	<COLOR> 
              <OP>
              "PO_SELECTARG1"
              </OP>
              <ARG1>
              "PA_TEXTURE"
              </ARG1>            
	</COLOR>
  	<BLEND> 
     	<SRC> 
     	"BL_ONE"  
     	</SRC> 
     	<DST> 
     	"BL_ONE"  
     	</DST>
   	</BLEND>         
    </PASS> 

</>
