EMT_TRANSPARENT_ALPHA_CHANNEL problem
Posted: Mon Feb 06, 2006 11:56 pm
OpenGL, Win32, irrlicht 0.14 + irrSpintz 0.12
In a scene I have lots of objects of EMT_TRANSPARENT_ALPHA_CHANNEL material type : animated meshes and particle systems (all particle system classes are updated from irrSpintz project)
MaterialParam is always set to 0.1.
All animated mesh scene nodes are drawn without any problems.
When drawing particles blending fails or some particles dissappear and then appear again (life time is great and speed is low so I can notice this).
I can see all solid meshes through them, but I can't see some particles through other particles. Heh, I also can see particles and solid meshes (through particles) through transparent animated meshes.
Any ideas?
P.s. Sometimes some particles are blended well or it may be illusion.
P.p.s. There is only one object that is also drawn with blending - stencil shadow.
In a scene I have lots of objects of EMT_TRANSPARENT_ALPHA_CHANNEL material type : animated meshes and particle systems (all particle system classes are updated from irrSpintz project)
MaterialParam is always set to 0.1.
All animated mesh scene nodes are drawn without any problems.
When drawing particles blending fails or some particles dissappear and then appear again (life time is great and speed is low so I can notice this).
I can see all solid meshes through them, but I can't see some particles through other particles. Heh, I also can see particles and solid meshes (through particles) through transparent animated meshes.
Any ideas?
P.s. Sometimes some particles are blended well or it may be illusion.
P.p.s. There is only one object that is also drawn with blending - stencil shadow.