#Baking Lighting
1 messages · Page 1 of 1 (latest)
I have 32 gigabytes of ram and I think my settings are set pretty low for the light map
The memory here would refer to your VRAM I believe. Do you have a decent grahics card?
Create a new scene, put a baked light + static cube in it, and try to bake that
See if that throws an error
I am using AMD Radeon(TM) 860M Graphics
I was able to successfully create a light map for a new scene with a baked light and a static cube
it's an integrated GPU, so you will be limited on performance and memory, I bet
I also tried the CPU and it still had issues.. I've been testing around, and it seems like issues arise when I mark a mesh renderer as static
Are these the correct stats for a mesh renderer for when I need to bake a light map?
this means that the object is so big that it's filling up an entire lightamp
How would I go about fixing that?
show your current lightmapping settings
I see that the scale is 100
This is probably causing great confusion for the lightmapper
If you export from Blender with default settings, you wind up with that 100x scale
I prefer to switch the "Apply Scalings" mode to "FBX All"
This gives you a scale of 1
That, on its own, shouldn't cause a problem
(although, if you're using "Generate Lightmap UVs" in the model import settings, you're probably getting VERY bad lightmaps right now)
the importer thinks your model is 100 times smaller than it's meant to be
it winds up with enormous amounts of padding
looks pretty sensible (20 texels/unit is moderately detailed)
the maximum size of an obejct will be 2048/20, or around 100 meters across
How would I do this?
"I prefer to switch the "Apply Scalings" mode to "FBX All""
this is part of the FBX export settings in Blender
it defaults to "All Local"
Which one here do I check?
Oh nevermind i found it within the picture. Sorry, lol
I have a scene with only 1 static model, which I am using as a control, and I reimported it with "Apply Scalings" mode to "FBX All", and there still seems to be an issue with the light baking
If you drag the mesh to scene and don't change it at all, what does it look like in Contributors/Receivers debug draw mode
That should visualize how dense the lightmap texture will be