the text rendering transparented? why?
Moderators: CEGUI MVP, CEGUI Team
-
- Just popping in
- Posts: 2
- Joined: Sat Nov 14, 2009 16:20
the text rendering transparented? why?
like this screenshot
- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
Re: the text rendering transparented? why?
Hi,
Just a screen is really to little information for us to answer your question. Pleast post your Cegui.log file. The logfile includes markers to show you what you should at least post, such as version, renderer and so on.
Thanks.
Just a screen is really to little information for us to answer your question. Pleast post your Cegui.log file. The logfile includes markers to show you what you should at least post, such as version, renderer and so on.
Thanks.
Check out my released snake game using Cegui!
-
- Just popping in
- Posts: 2
- Joined: Sat Nov 14, 2009 16:20
Re: the text rendering transparented? why?
I am sorry,I have forgot to check this page,I have solved this problem.
here is my code in my engine.
void Direct3D9Renderer::beginRendering()
{
d_device->SetRenderState(D3DRS_SEPARATEALPHABLENDENABLE, FALSE);
......
}
//----------------------------------------------------------------------------//
void Direct3D9Renderer::endRendering()
{
d_device->SetRenderState(D3DRS_SEPARATEALPHABLENDENABLE, TRUE);
}
here is my code in my engine.
void Direct3D9Renderer::beginRendering()
{
d_device->SetRenderState(D3DRS_SEPARATEALPHABLENDENABLE, FALSE);
......
}
//----------------------------------------------------------------------------//
void Direct3D9Renderer::endRendering()
{
d_device->SetRenderState(D3DRS_SEPARATEALPHABLENDENABLE, TRUE);
}
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 8 guests