Open Prophantii opened 3 years ago
Hmmm... how many sectors are there and how are objects distributed among them? Such patches can appear if objects around the floor mesh don't belong to the same sector.
Thank you for your answer. Currently there is only one single sector, since I was only testing out the sector function. The scene is actually a big outdoor scene. The sector is only one building containing all it's interior (furniture etc). But beneath the building at around floor level is a Terrain and another Ground-Object which is being used as the floor outside of the building. That might just be it. I will test it out and post here if it worked.
Interesting... can you show me sector geometry preview? Is there something intersecting the floor?
Just the preview button right? My PC doesn't seem to be able to handle that. Unity freezes when pressing it or rather it doesn't seem to process anything.
After disabling this Groundmesh though, the bake of the sector went perfectly fine. There are no more black patches to be seen.
My PC doesn't seem to be able to handle that. Unity freezes when pressing it or rather it doesn't seem to process anything.
Weird. It should work. Does it work in my example scene? Do you have to kill Unity process after it freezes?
Can you check it with Terrain Optimization disabled? It looks like it doesn't work right when enabled.
Yes I need to kill the Unity process. I tried it with Terrain Optimization disabled but it still freezes. I'm a little dumbfounded. Like I said, when disabling the ground layers the shadows are fine (for the most part). Some Objects don't throw a shadow upon them selves. It's like they only receive indirect light or something. Probably need to test out more options.
If there is any test package/project you can send to debug, it would help a lot. I assume it would only need the terrain and some walls to test it.
When Baking a sector, I get big black patches on the ground. I tried to reposition the capture points but the black patches just appear on different positions. I doubt it's shadows from other objects, since you can see the correct shadows in between the black areas. I'm rendering a small building with interior on 100 Texels per Unit, RTX mode, 3 bounces. The building is rather small with just two small rooms. There are no terrains or anything in the sector itself, but some terrains in the scene, if that's important. The Sector has 6 Capture Points and is set on "Capture in Place". (Not quite sure how many capture points are necessary but the patches appear when baking with a different amount of capture points.)
Example 1
Example 2
Position of Capture Points