阅读背景:

Android OpenGL ES 2.0实时变色

来源:互联网 

At the moment I am creating a new shader program every frame and using it to color a shape. This causes a fair amount of lag. I was wondering if there was any way to set the color of an object more efficiently in GLES20. I know in other versions there is a setColor function, but as far as I can tell it doesn't exist in this version of OpenGL ES.At the moment I am creating a new shader progra




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: