Page 1 of 1

DirectX11 + CEGUI

Posted: Wed Oct 27, 2010 18:08
by Magmatwister
Version 0.7.3, DirectX11, Win7. CEGUI throws an
"CEGUI::RendererException in file ..\..\..\..\cegui\src\RendererModules\Direct3D11\CEGUIDirect3D11Renderer.cpp : Direct3D11Renderer : failed to create effect"
failure at the bootstrap function.
Any ideas? I would include the log but it's a bit useless in this situation. It doesn't even get updated seeing as this error occurs in the bootstrap function.
As far as I can tell, the D3D11 Device and device context I am passing it are valid.

Re: DirectX11 + CEGUI

Posted: Wed Oct 27, 2010 18:25
by Kulik
It seems that this is related to creating fixed pipeline emulation shader, line 298 in the mentioned cpp file. I would start digging there... It seems the shader gets compiled fine but the effect can't be created using it.

Try to give it a go with NVIDIA PerfHUD enabled. It will (hopefully) output the error.

Re: DirectX11 + CEGUI

Posted: Fri Nov 12, 2010 16:59
by tmayr06

Re: DirectX11 + CEGUI

Posted: Sun Nov 14, 2010 20:18
by Magmatwister
tmayr06 wrote:Found the solution!

Take a look at:
http://www.cegui.org.uk/phpBB2/viewtopic.php?f=10&t=5245&p=25181#p25181


Cheers m8!!! Luckily I already have the Effects library compiled! :P