Include in OgreShaderExPerPixelLighting.h missing?

A place for users of OGRE to discuss ideas and experiences of utilitising OGRE in their games / demos / applications.
Post Reply
Tobse
Kobold
Posts: 26
Joined: Tue Apr 10, 2007 12:21 am

Include in OgreShaderExPerPixelLighting.h missing?

Post 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.
paroj
OGRE Team Member
OGRE Team Member
Posts: 1994
Joined: Sun Mar 30, 2014 2:51 pm
x 1074
Contact:

Re: Include in OgreShaderExPerPixelLighting.h missing?

Post 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.
Tobse
Kobold
Posts: 26
Joined: Tue Apr 10, 2007 12:21 am

Re: Include in OgreShaderExPerPixelLighting.h missing?

Post by Tobse »

Many thanks :D
Post Reply