MartensCedric / COMP371-Project

Git Repository for the project
0 stars 0 forks source link

Refactor shader usage #64

Closed MartensCedric closed 4 years ago

MartensCedric commented 4 years ago

One issue we currently have is that we can't easily add a new shader because how viewmatrix is unaccessible from the camera.

We need to reinvent the way we set the view matrix on the camera so each model can have a shader.

(Perhaps we should pass the camera to the models?)