Page 1 of 1

CEGUI about War3 probem!

Posted: Thu Nov 26, 2009 09:56
by jasonjzz
I used the hook Functhion inject the CEGUI to the War3, but have a probem,I capture one pic!

pic address:
http://hi.baidu.com/fasdfasdfvz/album/item/6f64f7bf3fe7e82519d81fb6.html


why in the game the Tree and the Hero's look like very notture!


sorry my pool english

Re: CEGUI about War3 probem!

Posted: Thu Dec 03, 2009 09:48
by CrazyEddie
Hi,

It looks like a state issue. Assuming D3D, you'd need to save the D3D states prior to drawing the CEGUI output and restore them again afterwards. The DirectX documentation covers this in State Blocks - we chose not to do this automatically for performance reasons.

CE.