I’m loading a bunch of simple OBJ’s into a scene I’ve been working with. They render fine and I’m able to apply a BitmapMaterial to them as I’m parsing them. However, when I attempt to apply lights and envMap to them I’m getting an error:
TypeError: Error #2007: Parameter data must be non-null.
at flash.display3D::VertexBuffer3D/uploadFromVector()
Anyone know what I can do to get my lights and envMap applied to these materials?
Also, I’m using the same lights and envMap on other objects in my scene. It seems that my new OBJ’s are missing something critical. Any suggestions?