Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jcox06/gllights-phong
https://github.com/jcox06/gllights-phong
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jcox06/gllights-phong
- Owner: JCox06
- Created: 2023-12-01T19:22:08.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2023-12-09T16:59:34.000Z (11 months ago)
- Last Synced: 2023-12-09T17:40:31.619Z (11 months ago)
- Language: Kotlin
- Size: 2.79 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Phong Lighting
___## Different Components
Phong lighting consists of three components that are each added together.This phong is implemented into worldspace.
Ambient Shading: Default lighting for when there is not a light source (no light)
Diffuse Shading: An objects colour is affected by the position of the light (lighting)
Specular Shading: The objects colour is affected by the position of the camera (reflections)
## Info
Thanks learnopengl and lighthouse3d for information on this lighting model
Texture https://pixabay.com/photos/vintage-wood-texture-wooden-wall-1557993/
https://pixabay.com/photos/background-texture-grunge-metal-1180666/
https://pixabay.com/illustrations/silver-background-texture-2143730/