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
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
a91fc3d57d
Added diffuse lighting
2022-06-13 14:07:55 +01:00
fd0acf3dde
Models now heve their own relative position (needs optimiseation)
2022-04-22 12:43:51 +01:00
bd85989d95
We can now render multiple meshes.
2022-02-22 17:41:12 +00:00
f364da6272
Finally shifted the camera. Now to move it to the camera class.
2022-01-24 15:18:44 +00:00
928efe501c
The data files are now installed with the game
2021-05-19 18:01:52 +01:00