Skip to content

shInNei/webgl-shading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebGL Shading Simulator

A personal project to explore and visualize classic shading algorithms in real-time using WebGL. This project provides an interactive way to understand how different shading techniques affect the appearance of 3D objects.

Features

  • Flat Shading: Each polygon is shaded with a single color, giving a faceted look.
  • Gouraud Shading: Vertex colors are interpolated across surfaces, creating smooth gradients.
  • Phong Shading: Pixel-level lighting calculations for realistic highlights and reflections.
  • Interactive 3D objects to test shading techniques in real-time.
  • Adjustable light and material parameters for experimentation.

Demo

You can see the project live at: link

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/webgl-shading-simulator.git

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors