OpenGL实现颜色混合

#include <GL/glut.h> #include<math.h> #define pi 3.141592653584372 int n; void myDisplay(void) { glClear(GL_COLOR_BUFFER_BIT); //清除颜色 glEnable(GL_BLEND);//开始调用颜色混合 glBlendFunc(GL_ONE, GL_ONE); glB
相关文章
相关标签/搜索