https://github.com/grfigueira/phonglighting-webgl
Phong Lighting In a Simple 3D Scene
https://github.com/grfigueira/phonglighting-webgl
javascript phong-lighting university-project webgl
Last synced: 26 days ago
JSON representation
Phong Lighting In a Simple 3D Scene
- Host: GitHub
- URL: https://github.com/grfigueira/phonglighting-webgl
- Owner: grfigueira
- Created: 2022-12-02T15:41:56.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-27T12:27:56.000Z (about 1 year ago)
- Last Synced: 2025-04-01T10:55:42.116Z (26 days ago)
- Topics: javascript, phong-lighting, university-project, webgl
- Language: JavaScript
- Homepage:
- Size: 14.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Phong Lighting Simulator
This **WebGL** project allows users to explore the concept of [Phong lighting](https://en.wikipedia.org/wiki/Phong_reflection_model) in a simple 3D scene.
The Phong lighting model is a technique used in 3D computer graphics to calculate the way that light reflects off of different surfaces, resulting in realistic-looking lighting and shading.In this simulation, users can adjust the properties of the light sources (point light, directional light, spotlight) and the materials of the objects in the scene to see how they affect the overall lighting.
#### This was a group project for the **Computer Graphics and Interfaces** class at FCT-UNL.
## Usage
We set up a Github Pages for this repository, so you can check out the result [here](https://grfigueira.github.io/CGI-Projeto3/)!Alternitavely, you can clone the repository and open `index.html` with a Live Server. You can use [this](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer) VSCode plugin to do so.
---
![]()