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
When sharing screen in Unity, it appears a bit washed out, is it supposed to be like this, or could this be changed/ configured?
This is not the case for camera sharing, camera sharing's colors are true and vivid.
Thanks in advance! :)
Client
SDK: LiveKit WebGL SDK for Unity
Version: [1.5.0]
To Reproduce
Steps to reproduce the behavior:
A client is connected to the room
A clients starts sharing screen by creating a streaming track
Shared screen is a bit washed out (paler than expected)
Expected behavior
Screen share's colors should be true just like share webcam's
Screenshots
The text was updated successfully, but these errors were encountered:
Hey there! Yes, after a lot of research, I determined the reason behind this is because I was using Linear color space instead of gamma, for which livekit unity sdk is made. Colors can be converted between gamma and linear color spaces, so a solution for me was making a very simple shader for live kit, and use it for every material on objects I want live kit on. The only thing shader does is color power 2.2 (that's the formula for converting gamma > linear) when streaming is happening (if you need it reverted to static regular image, revert the pow to 1). This has proven to work like a charm, if you need any more insight into this, feel free to ask :)
Describe the bug
Hey there!
When sharing screen in Unity, it appears a bit washed out, is it supposed to be like this, or could this be changed/ configured?
This is not the case for camera sharing, camera sharing's colors are true and vivid.
Thanks in advance! :)
Client
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screen share's colors should be true just like share webcam's
Screenshots

The text was updated successfully, but these errors were encountered: