guycalledfrank / bakery-issues

Bug tracker for Bakery
4 stars 0 forks source link

wrong volumes scale, sometimes #92

Closed laurentopia closed 3 years ago

laurentopia commented 3 years ago

here is a strange one: the volumes are baked properly but the scale seems incorrectly perceived by the shader this is the scene you can see that the rocks in the middle right are overbright yet some object far away respond to volume lighting image

this is the scene with all other objects hidden by layer except this one box, same camera angle image you can see that volume exists and corresponds to the geometry, it's just shrunk down bakery volume component scale is 1,1,1 image the script itself wasn't modified the white cube is lit by the bakery default urp volume, no spec no hlsl has changed in the past month, i verified with git.blame this happens after i rebake a scene and some times when i loadasync additive in the case of this scene shown here there was rebake but no loadasync

guycalledfrank commented 3 years ago

Is there only a single large global volume?

laurentopia commented 3 years ago

yes

guycalledfrank commented 3 years ago

Is it stuck like that forever or returns to normal scale after scene reload? I'm not sure how to reproduce this

laurentopia commented 3 years ago

so i went back to earlier commits and it used to work so i pasted the entire bakery folder to the newest commit and now it works... makes no sense here is the delta image i stay up to date to your commits and the one that works was probably a week old

guycalledfrank commented 3 years ago

Weird. Lightmapper itself doesn't affect volume packing in any way. It could be the scripts or the denoiser, but this...

laurentopia commented 3 years ago

yeah it doesn't make sense, maybe i gitignored some other scripts, lemme check... nope ¯_(ツ)_/¯

laurentopia commented 3 years ago

(i closed it to not clog your issue list, if this happens again after update we know where to look)