Aioi

Results 2 issues of Aioi

(1st way) gl_FragData[0]=vec4(tempcolor*tempAlpha,1.0); (2nd way) gl_FragData[0]=vec4(tempcolor,tempAlpha); l write a shader, use up shorte words in fragment shader,test the webgl blendequation。 this webgl sets is: webgl.enable(webgl.BLEND); webgl.blendEquation(webgl.FUNC_ADD); webgl.blendFunc(webgl.SRC_ALPHA,webgl.ONE); l use those...