Try to avoid compiling shaders at render time, both glCompileShader() and glLinkProgram() can be extremely slow. Do not call glReadPixels() to copy texture ...
確定! 回上一頁