开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜