Ogre Renderer missing setShadingType()

Discussion regarding the development of CEGUI itself - as opposed to questions about CEGUI usage that should be in the help forums.

Moderators: CEGUI MVP, CEGUI Team

User avatar
nfz
Not too shy to talk
Not too shy to talk
Posts: 27
Joined: Wed Jan 12, 2005 12:06

Ogre Renderer missing setShadingType()

Postby nfz » Fri Jan 21, 2005 01:00

OgreRenderer::initRenderStates() is missing:

Code: Select all

    d_render_sys->setShadingType(SO_GOURAUD);


Without it the shadingType will be what ever material was used just before CEGUI renders. I found this out when using some materials that used SO_FLAT. I wasn't getting the proper vertex colour shading with my GUI widgets when particular meshes were rendered with a material that used SO_FLAT.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Ogre Renderer missing setShadingType()

Postby CrazyEddie » Fri Jan 21, 2005 12:28

Thanks a lot. I'll get this fixed over the weekend :)

CE.


Return to “CEGUI Library Development Discussion”

Who is online

Users browsing this forum: No registered users and 3 guests