摘要:
#include #include #include using namespace std; static GLint fogMode; static void init(void){ GLfloat position [] ={0.5,0.5,3.0,0.0}; glEnable(GL_DEPTH_TEST); glLightfv(GL_LIGHT0,... 阅读全文
摘要:
效果图如下,两幅图效果是一样的,只是换了个背景。两幅图均是左侧使用了多重采样,右侧的没有使用多重采样。 阅读全文