Skip to content

Commit

Permalink
Added support for specular, diffusion and ambient lights (#16)
Browse files Browse the repository at this point in the history
* added light uniform, buffer + new render pipeline setup

* added ambient lighting to shader.wgsl

* added (incorrect) normal light mapping

* added specular reflection

* changed phong reflection model to Blinn-Phong
  • Loading branch information
Sycrosity authored Aug 27, 2022
1 parent 09dce8f commit dff2e17
Show file tree
Hide file tree
Showing 5 changed files with 478 additions and 116 deletions.
Loading

0 comments on commit dff2e17

Please sign in to comment.