Shadow global fail that may be a jMonkey bug

Hi,

I was using a model in .mesh.xml format which generated a warning in console :

déc. 07, 2014 11:40:51 AM com.jme3.scene.plugins.ogre.MaterialLoader readTextureImage
Avertissement: Cannot locate models/env/exterior01/grassB.png (Mipmapped) for material Grass_Obj
déc. 07, 2014 11:40:51 AM com.jme3.scene.plugins.ogre.MaterialLoader readTextureUnitStatement
Avertissement: Unsupported texture_unit directive: transform

Althout, the object was correctly displayed, with acceptable texturing for my tests. So I didn’t wonder that much.

But when I reactivated the shadow renderer (not filter), it caused a very interesting bug :slight_smile: I’m unable to understand why. It may be a case for jMonkey to manage, doesn’t it?

Here is a visual with/without the culprit asset (the little vegetable)
null

Another version of the bugged shadows. On the top are models .mesh.xml, and on the bottom, in-code generated meshes with lighting color.

It seems like triangles are… Mmh… it seems very strange.

null