Modify lighting equations
This commit is contained in:
5 files changed
+28
-87
No files matched your search
+1
-1
@@ -31,7 +31,7 @@ struct Material
|
||||
ColorF32 ambient;
|
||||
ColorF32 diffuse;
|
||||
ColorF32 specular;
|
||||
float specularExp;
|
||||
float glossiness;
|
||||
float opacity;
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user