Skip to content

Minimal OpenGL project with Shader object support

Notifications You must be signed in to change notification settings

marin117/minimal-opengl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimal OpenGL project

Getting started

Since I didn't found something that can be used for quickly running and setting up OpenGL projects, this is a minimal OpenGL project that can be used for building larger projects. It uses CMake build system and GLFW for managing windows and OpenGL context. I've also added glm as a dependency since it is widely used for OpenGL projects. This project renders red triangle, but it's purpose is to give a good foundation to the beginners and anyone who need it.

Prerequisites

Building on Windows

Install Linux.

Building on Linux

Run CMake inside the directory or simply use IDE like Qt Creator.

Put your Shaders into shaders folder with vs extension for Vertex shaders and fs extension for Fragment shaders. Other shaders should be also supported.

References

  1. OpenGL tutorial: https://www.opengl-tutorial.org/

About

Minimal OpenGL project with Shader object support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published