blob: 233d35167fc803606a56178835749155526970a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# Lighting
This contains state of the codebase up until the lighting lessons from learnopengl
Everything is in a very minimal state, and mostly all contained in the main.cpp
Several maths functions and lighting functions are present.
In the shaders, the light_subject shader contains code for creating multiple types of lights. This will hopefully be useful moving
forward.
The rest is pretty messy and I have intentionally avoided abstracting away anything other than to save me the hassle of
declaring stuff. The functions that so far exist, exist for very specific things and are just lines of procedural code
that I did not want to write again and again.
|