Search Issue Tracker
Fixed in 2018.2.X
Votes
31
Found in
2017.2.0b11
2017.2.0f2
2017.3.0b1
Issue ID
962142
Regression
Yes
[Regression] [Win] Videos are dark when using Linear color space
How to reproduce:
1. Download attached project file and open "1" Scene
2. Enter Play Mode (make sure Linear color space is selected in Player Settings)
Actual result: All videos are too dark when using the Linear color space. They are correct with the Gamma color space.
Reproduced with: 2017.1.2p2, 2017.2.0f3, 2017.3.0b6, 2018.1.0a1
Not reproduced with: 2017.1.2f1, 2017.2.b10, 2017.3.0a7
Regression since: 2017.1.2p1, 2017.2.0b11, 2017.3.0b1
Reproduced only with Windows.
---------
Fixed in: 2018.2.0a6
Comments (21)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Sub Mesh Mask" field in VFX Graph has no padding
- Source Generation with GeneratePropertyBag fails when using reserved keywords as variable names with @ prefix
- Prismatic ArticulationBody moves in opposite direction when using targetVelocity
- Shader Graph skybox material is rendered inccorrectly in builds when "Allow Material Override" or "Cast Shadows" are enabled and the "Deferred" Rendering Path is used
- Object motion is affected by incorrectly added rotation motion when importing animations
Ratt
Mar 05, 2018 22:33
We ran into the same issue, we fixed it by making a custom shader based on the default Unity UI shader.
We added:
fixed4 col = tex2D(_MainTex, i.uv); //this is the line before, should be in the shader
col.rgb = LinearToGammaSpace(col.rgb); //this is the line we added
And then make a material with that, put it as the material for the VideoPlayer and you should be good to go
CorwinJ
Jan 18, 2018 23:51
I'm trying to get a workaround going.
Another thread mentioned it might be lacking gamma correction so I wrote a quick shader to try and add in gamma correction using a formula I found online.
// Where _GammaFactor is a range of 1-2.4
col.rgb = pow( col, 1.0 / _GammaFactor);
This brings the color and some brightness back but it up introducing some weird artifacting.
Anyone else had any luck with this?
Numix-Jeff
Jan 17, 2018 00:30
I have same problem, i tryed different versions but none of them worked ...
2017-1-2f1
2017.3.0f3,
2018.1.0b2
Very annoying to have videos blackened like this. Please fix
ShahriyarB
Jan 16, 2018 09:09
Using 2017.3.0f3 and having this issue as well
frezer749
Jan 15, 2018 23:19
Having the same problem... kind of stopping the development of my game
VirZOOM
Jan 08, 2018 21:23
We have this issue as well. The legacy MovieTexture doesn't have this problem in linear space, but we just moved to VideoPlayer to have synchronized audio.
PacoChan
Jan 06, 2018 17:21
I just updated from 2017.1.2f1 to 2017.1.3f1 with hopes of having a more stable version and this is what I get, broken videos.
threespin2
Jan 05, 2018 11:16
We can reproduce this issue with 2017.3.0f3. As we want to display video on a Oculus Rift -which requires linear color space- this is kind of a show stopper right now.
daven8989
Nov 24, 2017 09:05
We are facing this problem too.