Modify lighting equations

This commit is contained in:
austin committed 2020-07-01 17:43:07 -07:00
1 parent 6dcbb35e86
commit 0203beb367
5 files changed
+28 -87

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ struct Material
ColorF32 ambient;
ColorF32 diffuse;
ColorF32 specular;
float specularExp;
float glossiness;
float opacity;
};
+1 -1
View File
@@ -19,7 +19,7 @@ struct Light
// PUBLIC FUNCTIONS
ColorF32 ComputeLight(Vertex &vert, Material &material, Light &light, Camera &camera);
ColorF32 ComputeLight(Point &position, Vector &normal, Material &material, Light &light, Camera &camera);
#define LIGHT_H