No colours!

Hi there!



I've got into a silly trouble, I can't change the colour of the things!! For instance, if I attach a box to the rootNode, it doesn't matter the colour I give the box or how it is being applied (I've tried getDefaultColor().set(ColorRGBA.red.clone()); setSolidColor(ColorRGBA.red.clone()); and even setRandomColors();), all the time the colour si grey. However, I do not have problems with textures, what sounds funny to me.



Any idea??? I guess it is a stupid thing I've overlooked.

Try removing your light and see if the colors show up.

Or rather, use MaterialState to set-up colors for your models that work with lighting.