Skip to content

AlexCharlton/hello-modern-opengl

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

hello-modern-opengl

A one-file hello world program for modern OpenGL using GLFW (version 3) and GLEW.

Illustrates the most salient points of modern (3.3) OpenGL: Shaders, VAOs, packed VBOs, indexed elements. Contains all of the matrix math necessary for a look-at style camera.

This repository also contains an ES branch, which illustrates a similar program using OpenGL ES. While GLFW is used for this branch (take care in compiling it for ES and probably EGL, e.g.: cmake -DGLFW_USE_EGL=ON -DGLFW_CLIENT_LIBRARY=glesv2), GLEW is omitted because it does not support GL ES.

About

A one-file hello world program for modern OpenGL using GLFW (version 3) and GLEW

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages