samedi 17 mai 2008

Development state

As it is really hard to distinguish something in the default black world of JME, I'm developping a DevlopmentState inspired by Blender "3D view" and DebugGameState:


But as you can see, it seems my Lines are subject to light. Now looking in the Spatial class, I've found quite easily (thanks to the documentation and the simplicity brought by Java 5 Enums) that I should have set the LightCombineMode of my Lines. Setting it to Off solved my problem:

Aucun commentaire: