Page 1 of 1

Ogre Renderer missing setShadingType()

Posted: Fri Jan 21, 2005 01:00
by nfz
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.

Re: Ogre Renderer missing setShadingType()

Posted: Fri Jan 21, 2005 12:28
by CrazyEddie
Thanks a lot. I'll get this fixed over the weekend :)

CE.