.obj lose colour in BaseGame but not in SimpleGame

Hey  :slight_smile:

So I've been learning jME and using the forums/wiki/tutorials/userguide but I've got a problem that I can't find the answer to.

My problem is when i load a .obj model (such as maggie in the tutorials). If I load it within a calss that extends SimpleGame, no problem everything is in colour, but if I load it from a class that extends BaseGame it's just plain old white. The code I use to load the model is exactly the same.

Is there something that SimpleGame is doing in the background that I need to add to BaseGame?



Could be that you didn't set up any lighting?

And the winner is…  :smiley:

That's what I get for not reading up on lighting.

Cheers for the super quick reply.