How to realize the function of glEdgeFlag in openGL 3.1?
glEdgeFlag has been deprecated in OpenGL 3.1. What is it replaced with开发者_StackOverflow中文版? If not replaced, how can I get a similar effect?
It is replaced with nothing. If you want equivalent functionality, you will have to write it yourself using the available materials (ie: shader logic and vertex attributes), or find another way to do boundary checking for wireframe rendering.
精彩评论