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.
Include in OgreShaderExPerPixelLighting.h missing?
-
- Kobold
- Posts: 26
- Joined: Tue Apr 10, 2007 12:21 am
-
- OGRE Team Member
- Posts: 2151
- Joined: Sun Mar 30, 2014 2:51 pm
- x 1156
Re: Include in OgreShaderExPerPixelLighting.h missing?
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.
Fixed that particular issue in https://github.com/OGRECave/ogre/pull/1216 though.
-
- Kobold
- Posts: 26
- Joined: Tue Apr 10, 2007 12:21 am