Jump to content
Sign in to follow this  

Recommended Posts

Stary said:

 

-----------------------------------------------------------------------------------------------------------------------------------------

-for the "volumeric" emitters like smoke, groundmist, dust, dirt or debris types of particles use the EffectShaderName=effectLightLevel.fx

 

(generally, materials that have BlendOp=BLEND_SRC_ALPHA particle blending option)

 

-for the fire, explosion, light, flash, flare, streak and so on use EffectShaderName=twColor1.fx

 

(materials that have BlendOp=BLEND_INV_SRC_ALPHA_ADD_SRC)

-------------------------------------------------------------------------------------------------------------------------------------------

 

What is the "BlendOp="?? :blink:

 

Where I see it?? :dntknw:

Share this post


Link to post
Share on other sites

Stary said:

 

-----------------------------------------------------------------------------------------------------------------------------------------

-for the "volumeric" emitters like smoke, groundmist, dust, dirt or debris types of particles use the EffectShaderName=effectLightLevel.fx

 

(generally, materials that have BlendOp=BLEND_SRC_ALPHA particle blending option)

 

-for the fire, explosion, light, flash, flare, streak and so on use EffectShaderName=twColor1.fx

 

(materials that have BlendOp=BLEND_INV_SRC_ALPHA_ADD_SRC)

-------------------------------------------------------------------------------------------------------------------------------------------

 

What is the "BlendOp="?? :blink:

 

Where I see it?? :dntknw:

 

It's in the Materials section of given effect, blendop= defines how the alpha channel (transparency) on tga file is proceeded and rendered

 

here's an example from vehiclefireeffect.ini effect in EE3:

 

[VehicleSmokeMaterial]

EffectShaderName=effectLightLevel.fx

DepthBufferCheck=TRUE

DepthBufferWrite=FALSE

IgnoreRenderOrder=FALSE

AlphaTestEnabled=FALSE

LightEnabled=FALSE

UseLightLevel=TRUE

SpecularEnabled=FALSE

EmissiveEnabled=FALSE

AmbientColor=1.000000,1.000000,1.000000,1.000000

DiffuseColor=1.000000,1.000000,1.000000,1.000000

ZBufferOffset=0.000000

PriorityLevel=3

BlendOp=BLEND_SRC_ALPHA <-here

NumTextureStages=1

TextureStage[01].TextureName=EE3_MB_L_smoke.tga

TextureStage[01].MipMap=FALSE

TextureStage[01].FilterEnabled=TRUE

TextureStage[01].StageColorOp=TEXTURE_MODULATE_DIFFUSE

TextureStage[01].StageAlphaOp=TEXTURE_MODULATE_DIFFUSE

 

[VehicleFireMaterial]

EffectShaderName=twColor1.fx

DepthBufferCheck=TRUE

DepthBufferWrite=FALSE

IgnoreRenderOrder=FALSE

AlphaTestEnabled=FALSE

LightEnabled=FALSE

UseLightLevel=FALSE

SpecularEnabled=FALSE

EmissiveEnabled=FALSE

AmbientColor=1.000000,1.000000,1.000000,1.000000

DiffuseColor=1.000000,1.000000,1.000000,1.000000

ZBufferOffset=0.000000

BlendOp=BLEND_INV_SRC_ALPHA_ADD_SRC <-here

NumTextureStages=1

TextureStage[01].TextureName=EE3_Expl3_Ani9.tga

TextureStage[01].MipMap=FALSE

TextureStage[01].FilterEnabled=TRUE

TextureStage[01].StageColorOp=TEXTURE_MODULATE_DIFFUSE

TextureStage[01].StageAlphaOp=TEXTURE_MODULATE_DIFFUSE

 

note not all effects have the materials defined in them

Share this post


Link to post
Share on other sites
It's in the Materials section of given effect, blendop= defines how the alpha channel (transparency) on tga file is proceeded and rendered

 

here's an example from vehiclefireeffect.ini effect in EE3:

 

[VehicleSmokeMaterial]

EffectShaderName=effectLightLevel.fx

DepthBufferCheck=TRUE

DepthBufferWrite=FALSE

IgnoreRenderOrder=FALSE

AlphaTestEnabled=FALSE

LightEnabled=FALSE

UseLightLevel=TRUE

SpecularEnabled=FALSE

EmissiveEnabled=FALSE

AmbientColor=1.000000,1.000000,1.000000,1.000000

DiffuseColor=1.000000,1.000000,1.000000,1.000000

ZBufferOffset=0.000000

PriorityLevel=3

BlendOp=BLEND_SRC_ALPHA <-here

NumTextureStages=1

TextureStage[01].TextureName=EE3_MB_L_smoke.tga

TextureStage[01].MipMap=FALSE

TextureStage[01].FilterEnabled=TRUE

TextureStage[01].StageColorOp=TEXTURE_MODULATE_DIFFUSE

TextureStage[01].StageAlphaOp=TEXTURE_MODULATE_DIFFUSE

 

[VehicleFireMaterial]

EffectShaderName=twColor1.fx

DepthBufferCheck=TRUE

DepthBufferWrite=FALSE

IgnoreRenderOrder=FALSE

AlphaTestEnabled=FALSE

LightEnabled=FALSE

UseLightLevel=FALSE

SpecularEnabled=FALSE

EmissiveEnabled=FALSE

AmbientColor=1.000000,1.000000,1.000000,1.000000

DiffuseColor=1.000000,1.000000,1.000000,1.000000

ZBufferOffset=0.000000

BlendOp=BLEND_INV_SRC_ALPHA_ADD_SRC <-here

NumTextureStages=1

TextureStage[01].TextureName=EE3_Expl3_Ani9.tga

TextureStage[01].MipMap=FALSE

TextureStage[01].FilterEnabled=TRUE

TextureStage[01].StageColorOp=TEXTURE_MODULATE_DIFFUSE

TextureStage[01].StageAlphaOp=TEXTURE_MODULATE_DIFFUSE

 

note not all effects have the materials defined in them

 

I would like to thank you very much!!! :good:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..