glTFast icon indicating copy to clipboard operation
glTFast copied to clipboard

When loading a glb file, the colors of the materials are changed upon loading.

Open Miyasaka-prono82 opened this issue 4 months ago • 1 comments

Describe the bug When loading a glb file, the colors of the materials are changed upon loading.

Files Cube.zip

To Reproduce Steps to reproduce the behavior:

  1. Create a Cube on the Editor and set the color to (R,G,B) = (65,110,50). [Figure 1] fig1
  2. Export Cube.glb with GLTFast. (When importing GLB (exported from Unity Editor) using blender, the colors have already changed.)
  3. Drag and drop Cube.glb onto the Editor. Then, the color of the Cube changed to (R,G,B) = (138,175.122). [Figure 2] fig2
  4. I would like to load it with the same color as created (Figure 1).
  5. The shader variant is set as shown in the diagram. fig3
  6. Are there any settings required for this? Please let me know if additional information is needed. Cube.zip is the model I actually used.

Desktop (please complete the following information):

  • GLTFast version 6.2.0
  • Unity Editor 2023.3.16 f1
  • Render Pipeline and version [unknown]
  • Platform: Editor, int the future PC(HTC VIVE), Android(Meta Quest)

Miyasaka-prono82 avatar Mar 04 '24 05:03 Miyasaka-prono82

It seems that #680 is also experiencing a similar problem. Have you done any research since then?

Miyasaka-prono82 avatar Mar 07 '24 00:03 Miyasaka-prono82