You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using a THREE.VideoTexture as a scene's background alongside sRGBEncoding results in a washed-out image. This is also the case when using a device's camera stream. The texture does, however, render as expected on a plane in the scene.
It looks like this is related to the recent SRGB8_ALPHA8 PR #22952
To Reproduce
Install the latest THREE version (0.138.3 as of this post)
Setup a VideoTexture to be used as a scene's background
Set the texture's encoding to sRGBEncoding
Set the renderer's output encoding to sRGBEncoding
Observe that the video loses quality and becomes washed out.
Using a
THREE.VideoTexture
as a scene'sbackground
alongsidesRGBEncoding
results in a washed-out image. This is also the case when using a device's camera stream. The texture does, however, render as expected on a plane in the scene.It looks like this is related to the recent
SRGB8_ALPHA8
PR #22952To Reproduce
THREE
version (0.138.3 as of this post)VideoTexture
to be used as a scene's backgroundsRGBEncoding
sRGBEncoding
Code
Click to expand
Live example
Expected behavior
The video quality should not be reduced and the colors should remain unchanged.
Screenshots
0.138.3 Click to expand
0.135.0 Click to expand
Platform:
Tested on:
The text was updated successfully, but these errors were encountered: