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.
精彩评论