摘要: #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,... 阅读全文
posted @ 2016-04-02 21:38 Arikes 阅读(348) 评论(0) 推荐(0) 编辑
摘要: 效果图如下,两幅图效果是一样的,只是换了个背景。两幅图均是左侧使用了多重采样,右侧的没有使用多重采样。 阅读全文
posted @ 2016-04-02 20:13 Arikes 阅读(1179) 评论(0) 推荐(0) 编辑