Commit graph

13 commits

Author SHA1 Message Date
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
811e949def Fixed pbr issue by re reading and implementing https://learnopengl.com/PBR/Lighting 2022-07-25 14:00:19 +01:00
cd382435a8 Added method to load normal maps and moved pbr to it's own function 2022-07-25 13:43:58 +01:00
2cd954dc9a PBR is now implemented 2022-07-25 13:22:42 +01:00
4ee8d24f18 Added roughness 2022-07-25 10:56:58 +01:00
58eb18354c Got metal to work 2022-07-22 15:02:42 +01:00
3d3aaa3c3c Solved multiple texture loading problem. 2022-07-20 16:30:40 +01:00
40f12dd510 Added the ability to use renderdoc and warn when uniforms unavailable 2022-07-20 16:26:40 +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
7e3a7f0df7 Added assimp version requirement as default debian version doesn't support pbr by defualt 2022-07-18 15:41:49 +01:00
187936bea6 Added time variable to shader to see difference in different values 2022-07-18 14:36:08 +01:00
a0819a4e98 Added the camera position and the models position to pbr shader 2022-07-18 14:17:08 +01:00
b4fda4612c Re-rendered same scene with hard coded values pbr code from https://learnopengl.com/PBR/Lighting 2022-06-16 15:14:53 +01:00