Commit graph

6 commits

Author SHA1 Message Date
ecf7929152 I think I'm close to inserting and using the TBN correctly. 2022-07-27 16:31:38 +01:00
5b1aba34df Added geometry shader to pipeline so I can calculate normal data on the GPU 2022-07-27 14:30:24 +01:00
532382b1f9 not correct way of using normal maps but gives me some preliminary info. 2022-07-26 15:27:17 +01:00
2eabd78ed5 Changed how we track a models position.
In learning more about linear algebra I've figured out that if we have
the model matrix of an object, for the most part the objects position is
0,0,0 multiplied through the model matrix.
2022-07-26 11:33:33 +01:00
1e5544ce1f Almost got metallisism working I just don't know what's up with the textures again. 2022-07-19 14:58:02 +01:00
a0819a4e98 Added the camera position and the models position to pbr shader 2022-07-18 14:17:08 +01:00