drcmda
September 5, 2023, 9:20am
2
threejs went through a series of changes that affect lights and colors.
Non-color maps are not sRGB-encoded, even if they’re PNG or JPEG files. By “non-color” we mean their RGB channels are being used to represent data — normal vectors, opacities, and PBR properties — rather than to represent visible color. It’s also worth noting that while PNG and JPEG files do contain color space metadata (usually claiming to be sRGB) that metadata is inaccurate more often than not, for these files.
Also note: Blender has the same concept of non-color textures, and should export…
No, because that changes the size of the scene in the 3D world, but not the world itself, due to a Scene being merely a top-level node in the transform graph (any transform you apply to it is currently equivalent to the same transform as if it were an Object3D). It could be possible, but would need to be implemented.
Once always-physical lights is released and well tested, then it might make sense to think about adding options (if maintainers agree with the added complexity), f.e. changing the …
fiber is not really wrapping threejs or changing it, you pair it with any threejs version you like and it will display in accordance with that version. so from version 152 on until latest you need to be aware of new encodings and how physical lights work.
1 Like