|
798100f138
|
Fix Phong specular term
|
2024-08-24 00:39:40 +01:00 |
|
|
535ead0337
|
Change light direction
|
2024-08-24 00:28:31 +01:00 |
|
|
6f5c094f49
|
Use matrices to transform light and normals
|
2024-08-24 00:25:41 +01:00 |
|
|
4f58fc4803
|
Rename create_shader to register_shader
|
2024-08-23 22:43:52 +01:00 |
|
|
2bea7218db
|
Test implementation of phong shader
|
2024-08-19 00:05:59 +01:00 |
|
|
29749c834a
|
Create FragmentData struct
|
2024-08-18 22:19:23 +01:00 |
|
|
760d9b6b9c
|
Move shaders declaration to shaders.h
|
2024-08-18 22:18:12 +01:00 |
|
|
caa8c416a9
|
Remove extra intensity calculation
|
2024-08-18 21:08:59 +01:00 |
|
|
690eb3d317
|
Update shaders and ensure coordinates are within buffer bounds
|
2024-08-18 21:04:46 +01:00 |
|
|
6239be219a
|
Ensure light is normalised
|
2024-08-18 17:09:13 +01:00 |
|
|
be7b577a0e
|
Split obj loading and model rendering code
|
2024-08-18 17:04:41 +01:00 |
|
|
2e39780272
|
Add support for loading normals from a map
|
2024-08-18 16:47:30 +01:00 |
|
|
50b8c6dd0a
|
Implement shaders (#1)
Reviewed-on: #1
* Start implementing shaders and move vector code to dedicated files
* Extract shader into its own header
* Ensure pixel coordinates are within bounds
* Refactor shader code and implement fragment shaders
* Create shaders
* Reorganise code
Co-authored-by: Abdelrahman <said.abdelrahman89@gmail.com>
Co-committed-by: Abdelrahman <said.abdelrahman89@gmail.com>
|
2024-08-18 14:28:09 +00:00 |
|