Hi, I currently have some problems with transparent textures, when I render the scene they hide some of my models and unit.

I think it's the same problem than here : viewtopic.php?f=43&t=3368

But the solution doesn't work in my case.

Here some examples:



And my code:
Code :
		this.context = this.element.getContext("experimental-webgl",{
			alpha:     false,
			depth:     true,
			stencil:   false,
			antialias: false,
			premultipliedAlpha: false
		});
Code :
	gl.clearColor( 0.0, 0.0, 0.0, 1.0);
	gl.clearDepth( 1.0 );
 
	gl.enable( gl.DEPTH_TEST );
	gl.depthFunc( gl.LEQUAL );
 
	gl.enable( gl.BLEND );
	gl.blendFunc( gl.SRC_ALPHA, gl.ONE_MINUS_SRC_ALPHA );

For each frames:
Code :
gl.clear( gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT );


I will be very happy to fix this weird thing... Thanks in advance !