glTFast
glTFast copied to clipboard
When loading a glb file, the colors of the materials are changed upon loading.
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:
- Create a Cube on the Editor and set the color to (R,G,B) = (65,110,50).
[Figure 1]
- Export Cube.glb with GLTFast. (When importing GLB (exported from Unity Editor) using blender, the colors have already changed.)
- Drag and drop Cube.glb onto the Editor.
Then, the color of the Cube changed to (R,G,B) = (138,175.122).
[Figure 2]
- I would like to load it with the same color as created (Figure 1).
- The shader variant is set as shown in the diagram.
- 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)
It seems that #680 is also experiencing a similar problem. Have you done any research since then?