When I try to perform remeshing or material merging on an object that has a material color different from white, the InstaLOD Unity SDK exports the baked texture but does not bake the object’s material color into the texture.
I checked the scripts and noticed that some color properties are being passed to the SDK. However, at the end of the operation, the material color is not baked into the final texture.
I tested it on both the Standard Rendering Pipeline and HDRP in Unity 2022.3.15f1, as well as in Unity 6000.0.47f1 (on both Standard and HDRP).
I’d like to mention something that I think might help you identify the issue:
If your material doesn’t have a texture and only uses a solid color, the Remesh process can export that color as a texture.
However, if the material already has a texture, it neither applies the color to the texture nor exports the color as a new texture.
If a material has a texture assigned, LOD/Pipeline will ignore the color of it, as it only uses the texture
This is the expected behavior, however what’s unexpected is that the texture assigned to it is not appearing. Could you provide more information about the texture? What is the format, resolution and other settings?
I think I misunderstood the situation. There’s actually no issue. When I assign a texture to a material, the process completes successfully and the texture is created in the end. It’s just that, as you mentioned, the material’s color property isn’t baked onto the texture.
So there’s no actual bug; I just assumed the SDK was capable of doing something it wasn’t designed to do.
Is there any planned feature to blend (or mix) both the color and texture of a material when a texture is assigned and the color property is modified? Or is there a way to modify this behavior through accessible scripts? The same question applies to the tiling property as well.