Added support for rendering multiple lights, standardized shaders to use snake case for variables and camel case for functions, stubbed PBR material shader include.

This commit is contained in:
2023-07-29 14:09:23 -05:00
parent 9a6e1df032
commit 5d1c195917
8 changed files with 97 additions and 62 deletions

View File

@@ -0,0 +1,16 @@
struct Material {
vec3 color;
vec3 roughness;
vec3 metalic;
vec3 specular;
bool use_color_texture;
bool use_roughness_texture;
bool use_metalic_texture;
bool use_specular_texture;
sampler2D color_tex;
sampler2D roughness_tex;
sampler2D metalic_tex;
sampler2D specular_tex;
};