Просмотр исходного кода

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 лет назад
Родитель
Сommit
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>

粤ICP备19079148号