I’m trying to create a very simple sky-dome: just a blue sky, shading from a relatively-saturated turquoise at the apex to a desaturated dusty-blue at the “horizon”.
To that end, in Blender I have the appropriate colours assigned via vertex colours, and a simple material applied that has both “Shadeless” and “Vertex Color Paint” checked. However, when I export the model, I find that it’s still lit in PView. (When lights are applied, of course.)
The “Shadeless” check-box does seem to work if “Vertex Color Paint” is left un-checked.
Checking the egg-file, it looks as though YABEE is simply not exporting any material values when those two check-boxes are both selected–there’s a “material” entry, but it’s empty. Copy-pasting the values from a file exported without “Vertex Color Paint” into one exported with it results in the dome being shadeless.
Having looked around the forum quickly, I’m honestly not sure of where the problem lies. I thought for a while that there were two issues here: YABEE exporting a blank “material” entry, and models that are both “shadeless” and “vertex-coloured” taking light. But my search suggests that this may not be the case. Should YABEE be exporting a blank “material” entry? In the presence of a material, should vertex-colours be ignored? Is there a check-box that I’m missing somewhere?
I do realise that I could call “setLightOff” in code to produce the effect that I intend–but I’m trying to make an environment model that “just works”.