71squared / ParticleEmitterDemo-SK

BETA implementation of our particle system in SpriteKit
MIT License
27 stars 8 forks source link

Possible to have normal blend mode? #3

Open nickthedude opened 6 years ago

nickthedude commented 6 years ago

I basically don't want any blend, ie just normal mode, no transparency except for my image's alpha. Can't seem to achieve this. any suggestions? I love the particle designer interface and have used 1.x back in the day. I would upgrade but if it can't do regular blend mode then it wouldn't be useful to this particular project. Hate to pay 75 bucks just to find out it can't do what I need it to if you feel me.

Thank you, Nick

nickthedude commented 6 years ago

I'm using sprite kit in case that is not obvious

pkclsoft commented 3 years ago

I know this is old as. I've just put a swift version together and seem to have managed to get the blends working such that SpriteKit renders the same as ParticleDesigner. So long as you use

     blendFuncSource == GL_ONE && 
     blendFuncDestination == GL_ONE_MINUS_SRC_ALPHA

you'll get a .alpha SpriteKit blend mode, which is the SK default.