mrdoob/three.js — Issue #813: Collada import don't work - Error: "shader is null"
Author: Xroy
Created: 2011-11-29 19:54:44+00:00
State: open

Hi,

I'm trying to load a collada file on a application, and I'm getting this error:

shader is null

shader.material.opacity = !shader.material.opacity ? 1 : shader.material.opacity;

on ColladaLoader.js (linha 621)

------------------------

stack trace

createSceneGraph () on ColladaLoader.js (line 621)
node = Node { id="ID3", name="X", nodes=[52], more...}
parent = Node { id="ID2", name="instance_0", nodes=[1], more...}

createSceneGraph () on ColladaLoader.js (line 690)
node = Node { id="ID2", name="instance_0", nodes=[1], more...}
parent = Node { name="SketchUp", nodes=[1], controllers=[0], more...}

createSceneGraph () on ColladaLoader.js (line 690)
node = Node { name="SketchUp", nodes=[1], controllers=[0], more...}
parent = undefined

parse () on ColladaLoader.js (line 109)
doc = Document
callBack = collada_load_handler()
url = "test.dae?rnd=0.9813711857463775"

onreadystatechange() on ColladaLoader.js (line 61)

-------------------------------------

Anyone knows why?