Is it normal for a GLB exported from the Three.JS editor to look different when used in Three.JS Web app? {Solved}

textures
gltf-loader

#1

Hi,

I am using the gltf-loader on a model exported from the Three.JS editor. With the lighting the exact same, is it normal for my material to look different than it does in the editor? I am using a simple image texture and tried many different editor materials and maps. I have also matched the lighting from the Three.JS editor in my Three.JS appliication.


#2

Have a look at the Textures section here: https://threejs.org/docs/#examples/loaders/GLTFLoader. In the editor, there is a γ output setting equivalent to renderer.gammaOutput. You can test glTF files in these viewers as well:


#3

Thank you @donmccurdy, adjusting the gamma factor helped a lot. I couldn’t match perfectly but close enough.