Page 1 of 1

Include in OgreShaderExPerPixelLighting.h missing?

Posted: Sun Jun 16, 2019 12:06 pm
by Tobse
With ogre 1.12.0 I got a compiler error in my project that FunctionStageRef is unknown in

RTShaderSystem/OgreShaderFFPLighting.h

and

RTShaderSystem/OgreShaderExPerPixelLighting.h

I think there is the include OgreShaderFunction.h missing.

Re: Include in OgreShaderExPerPixelLighting.h missing?

Posted: Sun Jun 16, 2019 2:15 pm
by paroj
you should rather use the <OgreRTShaderSystem.h> module header instead of using the individual headers directly to avoid such problems.
Fixed that particular issue in https://github.com/OGRECave/ogre/pull/1216 though.

Re: Include in OgreShaderExPerPixelLighting.h missing?

Posted: Sun Jun 16, 2019 8:49 pm
by Tobse
Many thanks :D