|
87f6b2b87a
|
Tweak fragment shader to take and return V4f instead of Colour
|
2024-09-14 01:22:43 +01:00 |
|
|
09e9f611f8
|
Reformat
|
2024-09-14 00:04:31 +01:00 |
|
|
fb1b8457d6
|
Reformat
|
2024-09-13 23:58:31 +01:00 |
|
|
e87f780dae
|
Move vertex and fragment calculations to the shaders
|
2024-09-01 02:15:32 +01:00 |
|
|
97622d0bf7
|
Move viewport matrix multiplication out of vertex shader
|
2024-08-26 22:30:05 +01:00 |
|
|
4f58fc4803
|
Rename create_shader to register_shader
|
2024-08-23 22:43:52 +01:00 |
|
|
29749c834a
|
Create FragmentData struct
|
2024-08-18 22:19:23 +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 |
|