<particleSystem>
    <particleEffect name="glares_180_1">
	<parameter name="iCullBehavior" index="0" value="0" />
         <particleGroup name="sunCore">
		<parameter name="iNumParticlesMax" index="0" value="1" />
			<particleAction className="ParticleActionEmitBox">
				<parameter name="fAngularVelocityAdoption" index="0" value="0.0" />
				<parameter name="fSizeMean" index="0" value="3500.0" />
				<parameter name="fSizeSpread" index="0" value="0.0" />    
				<parameter name="vCenter" index="0" value="{17280.59524,19315.43997,-18412.55123}" />
				<!--parameter name="vVelocityMean" index="0" value="{1,0,0}" /-->

				<!-- glare rotation in x, glare seed in z of orientation -->
				<!--parameter name="vOrientationMean"  index="0" value="{0.7,0,6,0}" /-->
 
				
 				<parameter name="bInject" index="0" value="1" />				
			</particleAction>

			<particleAction className="ParticleActionRender">
				<parameter name="iType" index="0" value="0" />
				<parameter name="iDepthBuffer" index="0" value="1" />
				<parameter name="fFadeDistance" index="0" value="0" />
				<parameter name="iNoFadeFar" index="0" value="0" />
				<parameter name="iAlign" index="0" value="0" />
				<parameter name="bUseColorRamp" index="0" value="0" />
				<parameter name="bUseSizeRamp" index="0" value="0" />
				<parameter name="bUseAnimTexture" index="0" value="0" />		
				<parameter name="bUseSizeMult" index="0" value="0" />
				<parameter name="fSizeMultX" index="0" value="4" />
				<parameter name="fSizeMultY" index="0" value="4" />
				<parameter name="bStretchPerParticle" index="0" value="0" />
				<parameter name="sShader" index="0" value="lynxGlare.fx" />
				<parameter name="sTexture" index="0" value="glare_corona.tga" />
				<parameter name="sTechnique" index="0" value="AdditiveBlend" />
				<parameter name="fGlareSensitivityCenter" index="0" value="0.25" />
				<parameter name="fGlareSensitivityEdge" index="0" value="0" />
				<parameter name="fGlareSensitivityPower" index="0" value="1.0" />
				<parameter name="fGlareBloomScale" index="0" value="1" />
				<parameter name="fGlareBloomSpread" index="0" value="0.00" />
				<parameter name="fGlareRotationRate" index="0" value="1.0" />
				<parameter name="bUseColorMult" index="0" value="1" />
				<parameter name="vColorMult" index="0" value="{1.25,1.1,1,0.66}" />
				<parameter name="vColorMultSpread" index="0" value="{0.0,0.0,0.0,0}" />
				<!-- use z of orientation for random seed.  This is so glares from same light have same seed -->
				<parameter name="bUseGlareSeed" index="0" value="1" />				
			</particleAction>
        </particleGroup>        
		
		<particleGroup name="sunCoreAlt">
		<parameter name="iNumParticlesMax" index="0" value="1" />
			<particleAction className="ParticleActionEmitBox">
				<parameter name="fAngularVelocityAdoption" index="0" value="0.0" />
				<parameter name="fSizeMean" index="0" value="3500.0" />
				<parameter name="fSizeSpread" index="0" value="0.0" />    
				<parameter name="vCenter" index="0" value="{17280.59524,19315.43997,-18412.55123}" />
				<!--parameter name="vVelocityMean" index="0" value="{1,0,0}" /-->

				<!-- glare rotation in x, glare seed in z of orientation -->
				<!--parameter name="vOrientationMean"  index="0" value="{0.7,0,6,0}" /-->
 
				
 				<parameter name="bInject" index="0" value="1" />				
			</particleAction>

			<particleAction className="ParticleActionRender">
				<parameter name="iType" index="0" value="0" />
				<parameter name="iDepthBuffer" index="0" value="1" />
				<parameter name="fFadeDistance" index="0" value="0" />
				<parameter name="iNoFadeFar" index="0" value="0" />
				<parameter name="iAlign" index="0" value="0" />
				<parameter name="bUseColorRamp" index="0" value="0" />
				<parameter name="bUseSizeRamp" index="0" value="0" />
				<parameter name="bUseAnimTexture" index="0" value="0" />		
				<parameter name="bUseSizeMult" index="0" value="0" />
				<parameter name="fSizeMultX" index="0" value="4" />
				<parameter name="fSizeMultY" index="0" value="4" />
				<parameter name="bStretchPerParticle" index="0" value="0" />
				<parameter name="sShader" index="0" value="lynxGlare.fx" />
				<parameter name="sTexture" index="0" value="glare_corona.tga" />
				<parameter name="sTechnique" index="0" value="AdditiveBlend" />
				<parameter name="fGlareSensitivityCenter" index="0" value="0.25" />
				<parameter name="fGlareSensitivityEdge" index="0" value="1" />
				<parameter name="fGlareSensitivityPower" index="0" value="1.1" />
				<parameter name="fGlareBloomScale" index="0" value="1" />
				<parameter name="fGlareBloomSpread" index="0" value="0.01" />
				<parameter name="fGlareRotationRate" index="0" value="-1.0" />
				<parameter name="bUseColorMult" index="0" value="1" />
				<parameter name="vColorMult" index="0" value="{1.25,1.1,1,0.66}" />
				<parameter name="vColorMultSpread" index="0" value="{0.0,0.0,0.0,0}" />
				<!-- use z of orientation for random seed.  This is so glares from same light have same seed -->
				<parameter name="bUseGlareSeed" index="0" value="1" />				
			</particleAction>
        </particleGroup>   
		
		<particleGroup name="sunflare">
		<parameter name="iNumParticlesMax" index="0" value="4" />
			<particleAction className="ParticleActionEmitBox">
				<parameter name="fAngularVelocityAdoption" index="0" value="0.0" />
				<parameter name="fSizeMean" index="0" value="200" />
				<parameter name="fSizeSpread" index="0" value="0" />                
				<parameter name="vCenter" index="0" value="{17280.59524,19315.43997,-18412.55123}" />
				<parameter name="vCenter" index="1" value="{17280.59524,19315.43997,-18412.55123}" />
				<parameter name="vCenter" index="2" value="{17280.59524,19315.43997,-18412.55123}" />
				<parameter name="vCenter" index="3" value="{17280.59524,19315.43997,-18412.55123}" />	
				<!--parameter name="vCenter"           index="4" value="{15197.52985,19567.98993,-17510.06896}" />
				<parameter name="vCenter"           index="5" value="{15197.52985,19567.98993,-17510.06896}" />
				<parameter name="vCenter"           index="6" value="{15197.52985,19567.98993,-17510.06896}" /-->
				<!-- y component of orientation controls placement of lens flare -->
				<parameter name="vOrientationMean" index="0" value="{0,0,0,0}" />
 				<parameter name="vOrientationMean" index="1" value="{0,0.08,0,0}" />
 				<parameter name="vOrientationMean" index="2" value="{0,0.53,0,0}" />
 				<parameter name="vOrientationMean" index="3" value="{0,0.64,0,0}" />
 				<!--parameter name="vOrientationMean"  index="4" value="{0,0.5,0,0}" />
 				<parameter name="vOrientationMean"  index="5" value="{0,0.53,0,0}" />
 				<parameter name="vOrientationMean"  index="6" value="{0,0.64,0,0}" /-->
  				<parameter name="bInject" index="0" value="1" />				
			</particleAction>

			<particleAction className="ParticleActionRender">
				<parameter name="bUseSizeMult" index="0" value="0" />
				<parameter name="bStretchPerParticle" index="0" value="0" />
				<parameter name="sShader" index="0" value="lynxGlare.fx" />
				<parameter name="sTexture" index="0" value="glare_lensflare_flipped.tga" />
				<parameter name="sTechnique" index="0" value="AdditiveBlend" />
				<parameter name="bUseColorMult" index="0" value="1" />
				<parameter name="vColorMult" index="0" value="{0.4,0.8,0.3,0.08}" />
				<parameter name="fGlareSensitivityCenter" index="0" value="0" />
				<parameter name="fGlareSensitivityPower" index="0" value="1.0" />
				<parameter name="fGlareBloomScale" index="0" value="1.2" />
				<parameter name="fGlareRotationRate" index="0" value="0" />
				<parameter name="fFlareOffsetScale" index="0" value="0.01" />
				<parameter name="fFlareMovementRate" index="0" value="0.0001" />
				<parameter name="fFlareEndScale" index="0" value="10" />
			</particleAction>
        </particleGroup>  
   </particleEffect>
</particleSystem>
