简体   繁体   中英

why does webgl blending not support COLOR_LOGIC_OP mode?

I am new to WebGL. I create a FBO and render a texture on it. Now another texture is suppose to be rendered in the same coordinate by blending the fragments' R,G,B and A values in COLOR_LOGIC_OP mode. Then I checkout the WebGL Specification, and could not find any information about the blending mode. Has the blending mode not been implemented yet?

The simple answer is because WebGL is based on OpenGL ES 2.0 and OpenGL ES 2.0 doesn't support glLogicOp .

It's also not in OpenGL ES 3.0 either which the next version of WebGL will be based on so it will most likely not appear in WebGL for the forceable future.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM