0
\$\begingroup\$

I am trying to bake a scene with these settings:

settings

and getting artifacts like squares and noise on walls:

artifacts1artifacts2

I did try to solve it for quite a while, checked this whole documentation, tried higher number of samples, resolution, etc. but nothing. I made this whole model in Blender and imported as fbx, tried both Calculated and Manual margin methods, nothing worked.

I want to have black glossy material, with lights, so that it bounces light. I like how it looks in realtime, but it is, of course, very inefficient. I also get the following message:

This GameObject has overlapping UVs. Please adjust Mesh Importer settings or increase chart padding in your modeling package.

I added another UVMap to that object, and made Smart UV Project, but it didn't work (asked ChatGPT). I know there is many things to fix, but have no idea, how. Any ideas?

\$\endgroup\$

1 Answer 1

0
\$\begingroup\$

This GameObject has overlapping UVs. Please adjust Mesh Importer settings or increase chart padding in your modeling package.

If you do a little research before posting a question, you can often easily find the answer to basic questions like this.

See the documentation on Lightmap UVs and on how to create lightmap UVs.

The easiest fix is usually to check the "Generate Lightmap UVs" box in the model importer settings.

Screenshot of relevant part of Model Importer

You may need to adjust the Lightmap UVs settings to get it to look right.

\$\endgroup\$
2
  • \$\begingroup\$ I already did that, also I have already checked a lot of documentation, including the ones you suggested me to check, but didn't work. I tried calculated method, with quite high min resolution (120), enabled stitch seams on renderers and played with a lot of lightmapper parameters. I think the only solution would be to manually make UVs in Blender, but i need to figure out how. And because I assume this would take a lot of time, I would first try to make this work automatically, as I have also other things to work on. \$\endgroup\$ Commented Oct 29 at 9:15
  • \$\begingroup\$ @PaulBrecelj Why would you set the min resolution to 120 if you're baking at a resolution of 40 (as shown in the screenshot in your question)? I've used the "Generate Lightmap UVs" setting many times and almost never have trouble with it. One other thing you can try in the scene lightning settings is setting "Lightmap Compression" to "None"; this will cause the files to be much larger, but would help you rule out a compression issue. If it doesn't solve the problem, be sure to change the setting back to "High". \$\endgroup\$ Commented Nov 3 at 20:43

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.