hi folks - I’m trying to clear warnings in an existing-Unity->Needle conversion project, and am trying to get rid of these warnings which seemingly show up when the Unity Skybox Material is set to a mat with the “Skybox/Panoramic” shader and a a texture.
Copied for searchability, these are:
THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType.
WebGL: INVALID_OPERATION: readPixels: type HALF_FLOAT but ArrayBufferView not Uint16Array
(with that second one repeated 6 times)
We know we could get around this by clearing the skybox and just using a sphere in every scene, but as we’re going to need to convert many scenes set up with existing skyboxes, we’d prefer to avoid that if possible.
Please let me know if you have any leads we could follow to clear these warnings, or if solving them might already be on the Needle roadmap!
by user 248501710404845568