View Single Post
Old 03-08-2012, 06:50 AM
Joran Joran is offline
Join Date: Jun 2006
Posts: 38
Send a message via Yahoo to Joran

Thank you, the clearAttribute works fine.

I tried out some other things. And if I turn on lighting for the complete model, the <node>.color() command works, as you said.

The clearAttribute solves my problem, but in the model I exported there are also objects without textures. These object are rendered white (with lighting off). So the results are not as expected. I can fix those using clearAttribute.

I am not sure what the behaviour of the exporter should be. I never use VertexColors myself. But I think I would like a way to turn of the this white VertexColor generation, so that even with LIGHTING off the <node>.color() can be used.
Reply With Quote