ソースを参照

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 13 年 前
コミット
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"/>
       <instance_animation url="#Bip01_R_Toe0Nub-node-transform"/>
     </animation_clip>
     </animation_clip>
   </library_animation_clips>
   </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>
   <library_images>
     <image id="monster.jpg" name="monster_jpg">
     <image id="monster.jpg" name="monster_jpg">
       <init_from>./monster.jpg</init_from>
       <init_from>./monster.jpg</init_from>
@@ -1919,9 +1905,6 @@
           </bind_material>
           </bind_material>
         </instance_controller>
         </instance_controller>
       </node>
       </node>
-      <node id="VisualSceneNode" type="NODE">
-        <instance_light url="#ambient-environment-light"/>
-      </node>
       <extra>
       <extra>
         <technique profile="FCOLLADA">
         <technique profile="FCOLLADA">
           <start_time>0</start_time>
           <start_time>0</start_time>

粤ICP备19079148号