[Ogre 2.1] Wrong colours bug?


10-10-2016 14:13:32

Hi Folks,

I am trying to set a background colour on my menus by setting the colour of a White widget: -

_backgroundWidget = MyGUI::Gui::getInstance().createWidget<Widget>("MarkerWhite",0,0,width,height,Align::Stretch, "Wallpaper", name + "Background");

Unfortunately the colour that gets as #666062 according to my colour picker.

Any ideas what could be the issue? I thought it might be a gamma issue, but I set the conversion option to true like so: -

_root->getRenderSystem()->setConfigOption("sRGB Gamma Conversion", "Yes");

Thanks for you help!


24-10-2016 02:24:10

What about simple red, green and blue colours?


04-11-2016 15:53:33

Hi Altren,

It seems it's a precision problem: - http://www.ogre3d.org/forums/viewtopic. ... 71#p532871

Would this be helped by using rgb colours?