Page 1 of 1

the text rendering transparented? why?

Posted: Sat Nov 14, 2009 16:36
by crazybuilder
like this screenshotImage

Re: the text rendering transparented? why?

Posted: Mon Nov 16, 2009 11:00
by scriptkid
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.

Re: the text rendering transparented? why?

Posted: Tue Nov 24, 2009 16:00
by crazybuilder
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);
}