Hello i have a problem :slight_smile:

when i upload a j3o i have a black area … :confused:

Help plz

(sory i’m french)

what was the original file type? mesh.xml, .obj, .blend? or some other format?

my model come from a .scene

try recalculating the normals, or flipping the normals where the black area is, in blender i assume

If I increase the brightness it works if I add another light also.

oh, you use lighting.j3md?

i create a .j3m with model ligthing.j3md, i add a normalMap and I apply the texture with sceneComposer

yeh, so it looks like the light you had before just wasn’t reaching parts of your model, which you’ve already found out yourself.

Sory i don’t understand :confused:

you need more lights, or change directions of the ones you already have

but the sun should not normally be enough?

depends where the direction is, add an ambient light for global lighting. There might be some parameters in your .j3m file you can change as well

I have not solved the problem

Seems like the model has no tangents, try TangentBinormalGenerator.generate(modelMesh);

if i move the “sun” the dark aera move

my code was

[java] AmbientLight al = new AmbientLight();



DirectionalLight dl = new DirectionalLight();


dl.setDirection(new Vector3f(2.8f, -2.8f, -2.8f).normalizeLocal());


pssmRenderer = new PssmShadowRenderer(assetManager, 768, 2);

pssmRenderer.setDirection(new Vector3f(-1, -1, -1));



// pssmRenderer.setFilterMode(FilterMode.Dither);



when y have black aera.

i have change

[java]al.setColor(ColorRGBA.White.mult(1.5f));[/java] (1.5f)

and now i have this (i have change the texture)


normen said:
Seems like the model has no tangents, try TangentBinormalGenerator.generate(modelMesh);

Thanks you i love you :)