Skip to content

A Basic Go / Golang, OpenGL GLSL 3.3, GLU, GLFW2 Modern OpenGL Triangle drawing example.

License

Notifications You must be signed in to change notification settings

segfault88/glfw3example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

glfw3example

A Basic Go / Golang, OpenGL GLSL 3.3, GLU, GLFW2 Modern OpenGL Triangle drawing example.

I found it kind of frustrating to get a modern Open GL setup running in Go. Getting everything right to get a OpenGL 3.3 context, shaders and drawing a triangle took a whole lot of Googling and frustration.

It was possible to find examples with "old" OpenGL (fixed function pipeline etc.) or something else problematic.

Here is pretty much the most basic example.

Enjoy! Hopefully it might help somebody save a little frustration.

About

A Basic Go / Golang, OpenGL GLSL 3.3, GLU, GLFW2 Modern OpenGL Triangle drawing example.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages