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
CEGUI about War3 probem!
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: CEGUI about War3 probem!
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.
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.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 9 guests