This repository has been archived on 2024-12-30. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
2024CG-project-render/include/Material.h
github-classroom[bot] 6eef377959
Initial commit
2024-10-11 10:27:35 +00:00

13 lines
266 B
C

#ifndef MATERIAL_H
#define MATERIAL_H
#include <Eigen/Core>
// Blinn-Phong Approximate Shading Material Parameters
struct Material
{
// Ambient, Diffuse, Specular, Mirror Color
Eigen::Vector3d ka,kd,ks,km;
// Phong exponent
double phong_exponent;
};
#endif