Skip to content

CGS-IITKGP/Blinnphong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues MIT License


Blinn-Phong Screenshot

Blinn–Phong Lighting with OpenGL + ImGui

Interactive real-time lighting control for imported Blender 3D models


Table of Contents

About The Project

This project demonstrates interactive Blinn–Phong lighting in OpenGL, featuring real-time ImGui controls for lighting parameters, material properties, and model selection.
It provides a fully dependency-free experience — all required headers and libraries are already integrated.

✨ Key Features

  • Pure C++ + OpenGL implementation — no external installations required
  • ImGui-powered controls for real-time tweaking of light color, position, and shininess
  • WASD-controlled light movement to observe reflections from multiple angles
  • Multiple imported Blender models (Castle, House, etc.) for lighting visualization
  • Organized CMake-based build system
  • Clean structure for extension into advanced shading models

(back to top)


Getting Started

This project is now completely dependency-free — all the required third-party libraries (GLFW, GLAD, GLM, stb_image, Assimp, ImGui) are already configured in the repository.
You just need to build and run the executable.

Installation

  1. Clone the repository
    git clone https://github.com/Jasz-rgb/Blinnphong.git
  2. Build the Project
    mkdir build && cd build
    cmake ..
    make
  3. Run the script
    ./Blinnphong

(back to top)

Usage

Once the project is running:

  • Use WASD keys to move the light source in 3D space.
  • Use the ImGui panel to:
    • Switch between lighting types (directional, point, or spot).
    • Modify ambient, diffuse, and specular intensity.
    • Change light color and shininess values.
    • Load different 3D models dynamically.
  • Observe how the Blinn–Phong lighting model affects different surfaces and materials.

(back to top)

Contact

Maintainer(s)

The currently active maintainer(s) of this project.

Creator(s)

Honoring the original creator(s) and ideator(s) of this project.

(back to top)

Additional documentation

(back to top)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors