Hello guys, I wanna know how to apply sRGBEncoding to texture maps of GLB, right now normal, AO, roughness and all other texture maps are very dull in color and I wanna know how to sRGBEncoding for texture maps like my output is-
i believe the gltf loader automatically sets it up correctly, you shouldnât have to do anything. but do put threejs itself into color management: three.js docs
needs a modern three. they just recently merged it. even without, i think gltf loader will still take care of it. colormanagement just makes sure that everything else is correct, too.
.encoding has been replaced with .colorSpace in latest versions of three.js - setting .colorSpace = âsrgbâ is equal to setting encoding to SRGBEncoding previously