开发者

How to realize the function of glEdgeFlag in openGL 3.1?

开发者 https://www.devze.com 2023-03-31 15:54 出处:网络
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 fu

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

精彩评论

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