Skip to content

Example of how to load and use custom shaders in a CAOpenGLLayer using a OpenGL 3.2 Core Profile

Notifications You must be signed in to change notification settings

rnine/OpenGL-2D-Drawing-Demo

Repository files navigation

OpenGL 2D Drawing Demo

Demo

OpenGL 2D Drawing Demo shows how to load and render pixels in a CAOpenGLLayer using a custom vertex and fragment shader using Open GL 3.2 and GLSL 1.50.

The shaders loading code is adapted from the amazing Cocoa-GL-Tutorial and Cocoa-GL-Tutorial 2.

Author

OpenGL 2D Drawing Demo was written by Ruben Nine (@sonicbee9) and contains fragments of code from the Cocoa-GL-Tutorial and Cocoa-GL-Tutorial 2 written by Tom Davie.

License

There is no license or restrictions of any kind. Do whatever you want with this code.

About

Example of how to load and use custom shaders in a CAOpenGLLayer using a OpenGL 3.2 Core Profile

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published