diff --git a/inc/hgl/graph/Light.h b/inc/hgl/graph/Light.h index 824228d8..bad3b7c7 100644 --- a/inc/hgl/graph/Light.h +++ b/inc/hgl/graph/Light.h @@ -16,7 +16,6 @@ namespace hgl lmEnd };//enum LightMode - /** * 光源类型 */ diff --git a/inc/hgl/graph/Material.h b/inc/hgl/graph/Material.h index 3e71599c..80e9bec5 100644 --- a/inc/hgl/graph/Material.h +++ b/inc/hgl/graph/Material.h @@ -45,6 +45,15 @@ namespace hgl // // Axis up_axis; ///<高度图向上轴 +// struct +// { +// Color4f Emission; ///<散射光 +// Color4f Ambient; ///<环境光 +// Color4f Diffuse; ///<漫反射 +// Color4f Specular; ///<镜面光 +// float Shininess; ///<镜面指数 +// }front,back; + public: };//class Material }//namespace graph