opengl es - AlphaFunctions in WebGL? -


Is it possible to achieve the effect of transparency, where less than 0.5 alpha fragments are discarded and more than 0.5 Are alpha pieces provided provided opaque? From what I have read,

  Glennable (GL_ALPHAT); Glaffank (GL_Greatr, 0.5);   

What I see but unfortunately, alfafine is not defined in WebGL, is there any way?

My problem is that transparent pieces write in deep buffer and thus block the distance from the desert:

The trim is not an option because there too There is no way more points

Use your bedrock to do this. Below your piece, after setting the output color:

  if you leave (gl_FragColor.a <0.5);    

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -