- Home /
Same texture in 3D and GUI in Linear Colorspace
Hi, I'm trying to switch to using the linear colorspace.
I have a texture (dynamic video) that I need to display on the GUI and also in 3D. The problem is that using Linear colorspace the texture is always displayed diffrently in the GUI.
Does anyone know how I could solve this? I was thinking that perhaps I need to use a shader to change the gamma of the texture as it's drawn to the GUI.
UnityGUI doesn't offer shader choice, if that's what you're talking about.
Well not directly..but if you render using Graphics.DrawTexture or GL.Begin.. then you can do run it through a material.
Answer by Helloezzi · Aug 05, 2020 at 06:33 AM
I don't know the cause of the obvious problem, but I hope this link helps.
https://docs.unity3d.com/Manual/LinearRendering-LinearTextures.html
Your answer

Follow this Question
Related Questions
Adjust audio volume using an exponential curve? 2 Answers
How to force to use Gamma Space instead of Linear Space? 1 Answer
How to change value of variable over period of time? 2 Answers
Blend Tree interpolating rotations 0 Answers
Custom Surface Shader vs Unity Standard Shader - Performance 0 Answers