开发者

How to use glPixelTransfer, glTexEnv and glRasterPos in openGL 3.1?

开发者 https://www.devze.com 2023-04-01 11:12 出处:网络
glPixelTransfer, glTexEnv and glRasterPos have been deprecated in OpenGL 3.1. What is it repl开发者_高级运维aced with? If not replaced, how can I get a similar effect? I would like to use these functi

glPixelTransfer, glTexEnv and glRasterPos have been deprecated in OpenGL 3.1. What is it repl开发者_高级运维aced with? If not replaced, how can I get a similar effect? I would like to use these functions.


What is it replaced with?

Framebuffer objects and fragment shaders.

P.S. If you don't want to mess with shaders, you can keep using older OpenGL version, you know.

0

精彩评论

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