Asset manager - custom material


I just downloaded JME3 nightly build and tried to run my application.

It seems that his statement returns null

java assetManager.loadAsset("Materials/DefaultPlanet.j3m");[/java]

Material definition itself is:


Material Default Planet : Common/MatDefs/Light/Lighting.j3md {

MaterialParameters {

m_UseMaterialColors : true

m_Ambient : 0 0 0 0

m_Diffuse : .5 .5 .5 0

m_Specular : 0 0 0 0

m_Shininess : 5




It worked before but unfortunately not anymore :frowning:

I am using eclipse, and the file is in src/Materials/DefaultPlanet.j3m folder of my project.

Does anyone have a clue what may be causing this?


Sorry for wasting your precious time, I already figured it out. I just had to look into Common/MatDefs/Light/Lighting.j3md material definition :slight_smile: