Skip to content

j-2k/Learn-OpenGL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learn-OpenGL

Becoming a slave to the open graphics library.

This project is configured for Visual Studio 2022 (x64). All necessary dependencies (GLFW and GLAD) are included in the repository.

Steps to Run

  1. Clone the Repository:

    git clone https://github.com/j-2k/Learn-OpenGL.git
  2. Open the Project:
    Navigate to the folder and double-click LearnOPGL.sln.

  3. Set Configuration:
    Ensure the top toolbar in Visual Studio is set to Debug (or Release) and x64.

  4. Build and Run:
    Press F5 or click the Local Windows Debugger button.

Extra notes about project

Please take note of the vertex slot rules when making new shaders!
click the link to check the file: vertex_layout.h

//Please abide by the rules of the vertex slots!
//This might change in the future make sure to check the vertex_layout.h file!
namespace VertexSlot {
    constexpr int Position = 0;
    constexpr int Color = 1;
    constexpr int UV0 = 2;
    constexpr int Normal = 3;
    //constexpr int Tangent = 4;
    //constexpr int UV1 = 5;
}

No dependencies folder exists

This section will highlight what are the required dependencies & how to get them, for this project. This is here in the case that I decide to git ignore the dependencies folder.

Required Dependencies & Folder Architecture:

Screenshot_1

Stage 1: Core OpenGL Renderer Completed - Image Below!

image

Stage 2: Lighting - WIP

About

My attempt at learning and writing an OpenGL renderer. This is not a "project" but more like a learning repository, where I learn rendering techniques, there is no end goal "project". Ramadan - Feb/2026.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors