浏览代码

Fixed webgl_loader_scene.
This one was has to find. An ambient light appeared out of the blue in the scene, this is because ColladaLoader now handles lights too. Hehe...

Mr.doob 12 年之前
父节点
当前提交
942a2bad15
共有 1 个文件被更改,包括 0 次插入17 次删除
  1. 0 17
      examples/models/collada/monster/monster.dae

+ 0 - 17
examples/models/collada/monster/monster.dae

@@ -1312,20 +1312,6 @@
       <instance_animation url="#Bip01_R_Toe0Nub-node-transform"/>
     </animation_clip>
   </library_animation_clips>
-  <library_lights>
-    <light id="ambient-environment-light" name="Ambient">
-      <technique_common>
-        <ambient>
-          <color>0.486275 0.486275 0.486275</color>
-        </ambient>
-      </technique_common>
-      <extra>
-        <technique profile="FCOLLADA">
-          <intensity>1</intensity>
-        </technique>
-      </extra>
-    </light>
-  </library_lights>
   <library_images>
     <image id="monster.jpg" name="monster_jpg">
       <init_from>./monster.jpg</init_from>
@@ -1919,9 +1905,6 @@
           </bind_material>
         </instance_controller>
       </node>
-      <node id="VisualSceneNode" type="NODE">
-        <instance_light url="#ambient-environment-light"/>
-      </node>
       <extra>
         <technique profile="FCOLLADA">
           <start_time>0</start_time>