the text rendering transparented? why?

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

crazybuilder
Just popping in
Just popping in
Posts: 2
Joined: Sat Nov 14, 2009 16:20

the text rendering transparented? why?

Postby crazybuilder » Sat Nov 14, 2009 16:36

like this screenshotImage

User avatar
scriptkid
Home away from home
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?

Postby scriptkid » Mon Nov 16, 2009 11:00

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.
Check out my released snake game using Cegui!

crazybuilder
Just popping in
Just popping in
Posts: 2
Joined: Sat Nov 14, 2009 16:20

Re: the text rendering transparented? why?

Postby crazybuilder » Tue Nov 24, 2009 16:00

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);
}


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 3 guests