could you please try to create a simplest scene you can with this for us to look at? Perhaps just a terrain mesh or something similar, with one lights … and keep adding things till it breaks. If you can repro it like this, please add mvaligursky as a user if that’s ok.
Any errors in the debug console? You can remote connect with desktop Safari to iOS Safari and see the console.
So turns out that since im doing a markerbase ar project, all my 3d stuff is hidden until the marker is reckognised. Then it gets displayed.
I guess its because of that that lightmaps generation fails.
If I dont hide my 3d model, it works just as expected.
So is there a way to trigger that lightmap generation when I’m ready? I tried hidding my stuff in postinitialize instead of initialize without success.
For manual baking, see how the baked-lights-ao triggers baking when you change some settings in the scene, it runs:
app.lightmapper.bake(null, bakeType);
I’m not too sure about those black spots … Do those changes as you move around as you said? That is pretty strange. Any short video? Or they only change depending on the directional light direction … which could just need bias and normal bias adjustment on the light.
I’d probably capture a frame with SpectorJS (assuming this happens on desktop as well) to investigate. Or is this iOS only?