guycalledfrank / bakery-issues

Bug tracker for Bakery
4 stars 0 forks source link

Can I see the source code of halffloat2hdr? #133

Open mxboo opened 2 years ago

mxboo commented 2 years ago

Can I see the source code of halffloat2hdr?

guycalledfrank commented 2 years ago

What is your reason/use case for that?

mxboo commented 2 years ago

您这样做的原因/用例是什么?

I reprocess the generated "_final" lightmap image, but I can't encode HDR format.

guycalledfrank commented 2 years ago

If you use it within Unity, you can use .exr or even Unity's own .asset files. If you want to replace existing files, perhaps you can force Bakery to generate lightmaps as .assets and then patch them directly? With the latest patch you have this option:

image

mxboo commented 2 years ago

Thank you. I'll try