Bakery - GPU Lightmapper (v1.96) + RTPreview [RELEASED]

FYI - I asked Jason, he said no-one has touched that code beside you. So I have no idea what’s going on now, to be quite honest. I’d just like to upgrade, but something seems to have happened somewhere to cause these issues. Please let me know if you get a chance to review the code. Thanks!

FYI - also checked the latest BetterShaders code, that inspector has a different Volume option.

Yeah, this looks like my UI. I checked BetterShaders repo, and the code is still what it used to be too:

Perhaps BetterLit implementation is somehow different to BetterShaders? I didn’t work on it, I think Jason just ported this stuff from BShaders to BLit as is (but maybe not). Does the BetterShaders version work for you?

Hello, suddenly getting this error after using bakery for a long time, I’m not exactly sure what this means

Yes, the BetterShaders version does seem to be working, at least to some degree. However I’m only using it on concrete, not on metal like the other Better Lit shader. So hard to say if it’s working completely.

I also just noticed another issue that I’ll investigate further - I have a global Bakery Volume and when disabling it makes no difference to the materials that are supposed to be using it. So it looks like none of them are actually using it (Better Lit and BetterShaders). Also checked in a previous version of my project in Unity 2022.3.50f1 and it’s the same… so that’s odd too.

So this is quite a rabbit hole I seem to have discovered here. :sweat_smile:

I also responded to you on the BLS discord. There is a new toggle. BLS works fine on 6000.0.24.

For some reason its under “ShadowMask Mode”

this also makes Volumes work.

1 Like

Awesome - thanks for confirming these changes. I’ll have a play today and make sure all working. Appreciate it! :+1:t2:

1 Like

Think I’m all but giving up for now - something is clearly wrong in my view, and it might be me… so apologies if that is the case. Some materials look OK. Others like metal look completely different.

Before - Unity 2022:

After - Unity 6:

Bakery toggled off - Unity 6:

I found the only settings that kind of worked in my case were:


(Shadow Mask Mode made no visible difference to the rendering in my case.)

FYI - I rolled my code back to the last working version with Git. Then copied the newest version of StackableBakery.surfshader into the version of Better Lit Shader, and everything still works and renders the same in Unity 6. So not sure what that tells us exactly, but sharing in case helpful!

Following up on this - I’ve tried pulling the latest version from GitHub again today and the issue seems fixed! Can’t tell why it didn’t work the last time, nor do I care much to find out - just glad that it works now. Thanks for all the help :pray: