OpenGL: GL_TEXTURE_CUBE_MAP and GL_REFLECTION_MAP

I am currently working on a project in OpenGL. Every time I try to reference GL_TEXTURE_CUBE_MAP and GL_REFLECTION_MAP, they seem to me undefined. I have included gl.h, glu.h and glut.h, but they still appear undefined. Any suggestions?

+4
source share
1 answer

Anything outside of OpenGL-1.1 is not part of the OS ABI (binary interface) specification for Windows and OpenGL-1.2 on GLX (Linux should get updated OpenGL ABI)

Anything outside of this functionality should be loaded at runtime through the extension loading mechanism, even if this is the main functionality. Most easy to do using the GLEW library.

+3
source

Source: https://habr.com/ru/post/1447325/


All Articles