LightMapping bake button

I was trying light mapping in play canvas and really confused as I cannot find the light bake or mapping button
I followed this page
https://developer.playcanvas.com/en/user-manual/graphics/lighting/runtime-lightmaps/
but after all the settings still unable to find light mapping button the final button to make light maps

My second question is why Lightmaps imported from external tools like blender looks good in view mode but in render look very dim

here are images


I posted this earlier but got no replies !

Again posting this

I was trying light mapping in play canvas and really confused as I cannot find the light bake or mapping button
I followed this page
https://developer.playcanvas.com/en/user-manual/graphics/lighting/runtime-lightmaps/
but after all the settings still unable to find light mapping button the final button to make light maps

My second question is why Lightmaps imported from external tools like blender looks good in view mode but in render look very dim

here are images

Hi @Nofil_khan,

If you are asking about the Autobake button, you can find it on the left sidebar:

image

PS Please don’t open new threads about the same topic, post on the same one.

Okay, thanks, man!

But I used the same button but again issue is the same here.
I baked the light . and again issues are same,the light is dim in render viewport

image

Any Updates? @Leonidas

I just set up simple lightmapping scene here, and it seems to work fine for me in all cases. Does this work for you?

If not, see what the difference is in your project perhaps in the setup.

https://playcanvas.com/project/1101715/overview/lightmapping-test

1 Like

One more idea - are your meshes set to be preloaded? If not, and they’re not loaded in the first frame when the baking takes place, you might need to trigger the baking manually from script when those are loaded.

2 Likes

@mvaligursky how to trigger baking,and would it on every material?

Updates @mvaligursky?
actually in your project! I saw that the light is still there but in my case I delete the object as like in other software light data is already baked and need it no more ,is that causing the trouble

@Leonidas

The baking takes place at runtime, so when you run the game, the light needs to be there as its used to bake it on the first frame.
We don’t bake and store textures. You can bake externally in Blender and bring in your lightmaps if you want. But if you bake in PlayCanvas, the light needs to stay, but be configured for baking instead of realtime light. Or at least hybrid, where its used to bake some meshes (building) but also used at realtime for characters.

2 Likes