Hey, I am extremely new to Babylon and I found this thread when doing research on displaying residential units. Please forgive me if I am missing something obvious.
I am also not sure if I should ask this here or open a new thread
I have a question regarding the display of the used model. When comparing the output of: https://www.babylonjs-playground.com/#8EGGW2#2 and letās say https://www.babylonjs-playground.com/#8EGGW2#9 the edges seem to be rounded (it all looks more natural). Does this all come from the use of Lightmaps or are there other tools/features being used to achieve that effect?
I tried to understand the Code from the Playgrounds but did not see where this āroundigā effect is originating from.
We have the very same problem with dark lightmaps.
Right now Iām using Nuke in order to tonemap the lightmap to force it fit inside the 0-1 range of 8bit PNG files.
You mentioned that RGBD fancy thing and we would want to understand that magic. Investigating a bit, it seems the āDā of that RGBD format is intended for depth, so personally I canāt understand how that would make PNG format to have broader luminance range.
Currently, the lightmap is generated in HDR file format, so we can do whatever is needed to it but to save it to PNG format and retain luminance values.
You wrote about that playground that converts HDR files into PNG RGBD format. But I canāt make it work.
Is there another way to create such wide range PNG formats?
Nevermind, I managed to make it work.
I wonder, though, if the resulting PNG can be converted to JPG as I donāt know if JPG supports RGBD formats. Because our converted PNG is like 20mb in size, and thatās pretty much.
Well, Iām completely new to lightmap generation (I come from offline rendering, so no need for them at all), but I thought ONE lightmap for everything in the scene would be appropriate, thatās why I use one 4k file for it.
@sebavan Please excuse my late response. I looked at the scene again and came to the conclusion that the effect I was experiencing has to originate in the lightmaps that are used.
It seemed to me as if there was a bumpmap being used or something similar that changes the actual geometry of the mesh, but it is just the effects of the Lightmap tricking my brain