laurenth-personal / lightmap-switching-tool

Tool that allows switching different baked lightmap sets on a unity scene at runtime.
MIT License
682 stars 90 forks source link

Does this tool support URP or only built-in pipeline? #34

Closed amromezzat closed 2 years ago

laurenth-personal commented 2 years ago

I am not very familiar with URP but this tool works on HDRP too so I think there are good chances it works with URP. There is some ongoing work on the master branch and the open-upm-release branch is probably the most reliable branch at this moment.

amromezzat commented 2 years ago

Thank you for your quick reply, I have a building I try to bake night and day mode but as soon as I do that the baking finishes very quickly (a few seconds instead of hours) then the building is washed out like the second picture

light-1

image

laurenth-personal commented 2 years ago

It's hard to tell from screenshots. If the bake was fast maybe it's because you did the same bake twice and unity just read the results from the cache. For the rest do you think you could share your scene ?

amromezzat commented 2 years ago

Unfortunately, I can't since the building is property owned. But I will try to add the mesh to a new scene and see how it goes. Also, I will try to replicate it with another model to share it with you.

I appreciate your help so far; it is a great tool.

amromezzat commented 2 years ago

It was a silly mistake that I forgot to mark the mesh as static.

laurenth-personal commented 2 years ago

Thank you for the update.