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
Gnoblar
Posts: 24
Joined: Tue Apr 10, 2007 12:21 am

Include in OgreShaderExPerPixelLighting.h missing?

Post by Tobse » Sun Jun 16, 2019 12:06 pm

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.
0 x

paroj
OGRE Team Member
OGRE Team Member
Posts: 872
Joined: Sun Mar 30, 2014 2:51 pm
x 176
Contact:

Re: Include in OgreShaderExPerPixelLighting.h missing?

Post by paroj » Sun Jun 16, 2019 2:15 pm

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.
1 x

Tobse
Gnoblar
Posts: 24
Joined: Tue Apr 10, 2007 12:21 am

Re: Include in OgreShaderExPerPixelLighting.h missing?

Post by Tobse » Sun Jun 16, 2019 8:49 pm

Many thanks :D
0 x

Post Reply