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.

1 Answer

1

I don’t know the cause of the obvious problem, but I hope this link helps.