FourTexturesModern is sample C++ code illustrating the use of Modern OpenGL. It is part of a set of programs introducing the use of Modern OpenGL, which are intended to accompany a possible second edition of the book 3D Computer Graphics: A mathematical approach with OpenGL, Cambridge University Press, 2003.
FourTexturesModern shows how to load multiple texture maps from a bitmap files, BMP files, and apply them to a rectangles. Its primary source file is FourTexturesModern.cpp. In addition, it uses RgbImage to load a texture map from a file and GlShaderMgr to read a shader program from a file. Follow these links to download the source files and executable:
Version 1.0 of FourTexturesModern, February 24, 2018. Revised September 14, 2020. All rights reserved.