Cursor appears as a white block


02-06-2009 23:22:38

Whenever I add a sheet to the GUI (or one is automatically created with the GUIManager), my whole screen turns to a solid white color. If I disable the sheet, this white color goes away and the scene is rendered properly, but the cursor becomes a solid white block rather than the normal pointer shape. I saw another thread talking about a similar problem, though the thread said that the problem was solved. How can I fix this problem? I am using QuickGUI 9.5, so I don't believe it is a problem of using out of date code.


03-06-2009 01:30:26

Do you have in an Ogre resource location? I think if the textures the the skin files ask for are not found, you'll see white textures instead. Also make sure you have Gui.material, and the corresponding shader programs as well:



03-06-2009 01:44:40

Hmm, I have added all the resources in the QuickGUI "resources" folder to the resources.cfg file so that Ogre can find everything. As soon as I add these resources to where Ogre can find them, the following exception is being thrown:

Unhandled exception at 0x0133ceb5 (RenderSystem_Direct3D9_d.dll) in MyApplication.exe: 0xC0000005: Access violation reading location 0x00000000.

When I remove the resource locations associated with QuickGUI from resources.cfg, the error goes away, but I still have that texture problem.

Note: I can add qgui.skinTypes and to resources.cfg without a problem. Everything else, though, does cause a problem.


03-06-2009 03:20:44

Are you on a machine that supports pixel shader 2.0 or better? Can you post the Ogre log?


03-06-2009 21:18:07

No, my machine is old and doesn't support Pixel Shader 2.0

Does that mean that I won't be able to use QuickGUI?


03-06-2009 21:22:39

I removed the old rendering system that didn't use shaders, and followed RBGUI's method, which uses them. I'm assuming they're relatively simple shaders, as I don't know much about shaders myself, but its required. Sorry. :(


03-06-2009 22:18:09

Oh, alright. Thanks for all the help. I will have to find something else for now, but I will definitely take a look at QuickGUI again when I get a new computer (hopefully soon).