[Solved] Flattening lightens?

When using flattenStrong on my trees in [url]Procedural Trees] the trunks become lighter - how can i change that?
edit: solved

I found out the reason: I first set vertex colors on the trunk but they just didnt survive the flattening. - ramoved the colors column and everything runs fine.

Why shouldn’t they survive the flattening?

no idea - they should stay i think…

When you set vertex colors on a bit of geometry, you also have to do node.setColorOff(), to tell the geometry you will be using the vertex colors and not the scene graph color. If you do not do this, the vertex color is undefined, and it might not be visible in some cases (for instance, after you flatten).

David