"Bad leaf ambient for leaf ####" And now my map has no lighting
2 replies, posted
My map is pitch black. When I move into a lit area my view model is lit properly, but all of the textures are black.
this appears a couple thousand times in the compile log;
[code]
Bad leaf ambient for leaf 8
[/code]
Why is this happening and what do I do to get rid of it?
When you use [url]http://www.interlopers.net/errors/[/url] it shows that the problem might be "zero area child patch".
[quote]Description:
A solid in your level has a face with no area. My guess is that vrad.exe is trying to create a lightmap for a face that doesn't exist. Maybe you have an invalid brush?
Solution:
First check Hammers problemchecker (alt+p). If that doesn't solve your problems, you can either ignore the error, or try to find it anyway using cordon tools. You would be looking for brushes which might be too complex. I wouldn't recommend the second option.[/quote]
Alright, I fixed it. The "zero area child patch" errors were caused by a buggy surf ramp I had added, and the bad leaf ambient errors were because of water being inside a func_viscluster, and maybe from a lot of faces having low lightmaps
Those combined = broken map I guess.
Sorry, you need to Log In to post a reply to this thread.