瀏覽代碼

better default exponent

David Rose 18 年之前
父節點
當前提交
0b9493ef36
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      panda/src/pgraph/spotlight.I

+ 1 - 1
panda/src/pgraph/spotlight.I

@@ -24,7 +24,7 @@
 ////////////////////////////////////////////////////////////////////
 INLINE Spotlight::CData::
 CData() :
-  _exponent(0.0f),
+  _exponent(50.0f),
   _specular_color(1.0f, 1.0f, 1.0f, 1.0f),
   _attenuation(1.0f, 0.0f, 0.0f)
 {