From 14b2a782be0eafa4fb854dbb6af0529fc636c492 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Fri, 30 Nov 2018 20:04:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0light,material=E7=AD=89?= =?UTF-8?q?=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inc/hgl/graph/Light.h | 1 - inc/hgl/graph/Material.h | 9 +++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) 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