Android load glb model

Yes, you need to add a light probe to the scene. You can use a pre-made probe or generate one with LightProbeFactory.

You can use this pre-made one here:https://github.com/jMonkeyEngine/jmonkeyengine/tree/master/jme3-testdata/src/main/resources/Scenes

Node probeNode = (Node) assetManager.loadModel("Scenes/defaultProbe.j3o");
        LightProbe probe = (LightProbe) probeNode.getLocalLightList().iterator().next();
        rootNode.addLight(probe);

See this example for how to generate one for your scene.

Related topics:

1 Like