Particle Emitter issue

Hi,

I have found a possible issue with the EmitterObject. I’m using particle designer and I have exported an emitter with the following color values:

blend source = gl_one
blend destination = gl_one_minus_src_alpha

The json exported is ok, I’ve checked the values: 1 for gl_one and 771 for gl_one_minus_src_alpha. But in Corona the effect looks diferent than in Particle Designer 2.0. It looks like Corona is using gl_dst alpha instead. May it be a bug or I’m doing something wrong?

Thanks!

Hi, Can you provide a Particle Designer file, and a Corona SDK project, that demonstrates your problem?

Hi!

You can download the pdproject and a Corona project here:

http://pauors.com/corona/particleEffect.zip

I’m using  Corona SDK Build: 2014.2322

Thank you!

I’ve checked the values: 1 for gl_one and 771 for gl_one_minus_src_alpha. 

@pau7, I’m using Romaing Gamer’s particle editor and so far he does not provide a way to change the blending mode so I’m resorting to editing the exported json file manually. Where did you find that GL_ONE and GL_ONE_MINUS_SRC_ALPHA correspond to 1 and 771? I can’t seem to find a list anywhere and it would be very useful to have in my case.

You can check the values here:

http://docs.factorcode.org/search?search=Gl_ONE

By the way, @Albert90, could you take a look to the code I sent you? Any progress? Thank you.

Great, thanks!

Hi, Can you provide a Particle Designer file, and a Corona SDK project, that demonstrates your problem?

Hi!

You can download the pdproject and a Corona project here:

http://pauors.com/corona/particleEffect.zip

I’m using  Corona SDK Build: 2014.2322

Thank you!

I’ve checked the values: 1 for gl_one and 771 for gl_one_minus_src_alpha. 

@pau7, I’m using Romaing Gamer’s particle editor and so far he does not provide a way to change the blending mode so I’m resorting to editing the exported json file manually. Where did you find that GL_ONE and GL_ONE_MINUS_SRC_ALPHA correspond to 1 and 771? I can’t seem to find a list anywhere and it would be very useful to have in my case.

You can check the values here:

http://docs.factorcode.org/search?search=Gl_ONE

By the way, @Albert90, could you take a look to the code I sent you? Any progress? Thank you.

Great, thanks!